× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I haven't built a command in a long time but I believe you can build in the dependencies with some of the keywords. Likely you can do what you want using Prompt Control and/or Choice Programs.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave Murvin
Sent: Tuesday, October 19, 2010 3:20 PM
To: Midrange Systems Technical Discussion
Subject: Re: How to call API with different parms over different releases

Thanks Chris, but I am using my new command to call the API. (We
programmers don't use no stinkin easy to use system commands! ;-) ) The
issues are that this API has additional parms added in V5R4 and again in
V7.1. I would like the command to only show the options available at
the release it is being run on, so the V5R2 guys don't see the parms
available in V5R4 and V7.1.

Additionally, I will be creating the program package to be able to run
at V5R2 or later. When a customer restores the program package
(RSTLICPGM) to a system running V5R4 or V7.1, I would like them to be
able to use the additional API parameters available on their current
release.

I just don't see any way to do this without creating a complete command
for each release, then renaming them all except for the one for the
current release at RSTLICPGM time.

I can make the API parameters optional, but how do I make the command
PARMS, validator and help text optional too?

Thanks

On 10/19/2010 3:06 PM, Chris Bipes wrote:
Where there is a command, there is an API. Search for the API and you
will find that the new stuff is optional, most likely. Commands are for
users while API's are for programmers.;-)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.