× 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.



The parameters to a command choice program include the name of the command and the keyword of the parameter for which choice text or possible values are to be retrieved. In theory this allows a single program to be used as the choice program for several commands/parameters.

My problem is that I need to use a choice program for different elements of some complex list parameters, e.g.:

PARM KWD(PARAM) TYPE(L_PARAM)

L_PARM: ELEM TYPE(*CHAR) LEN(1) CHOICE(*PGM) +
CHOICEPGM(CHOICEPGMA)

ELEM TYPE(*CHAR) LEN(1) CHOICE(*PGM) +
CHOICEPGM(CHOICEPGMB)

Question:

So far as I can make out, I'm stuck with having two choice control programs here (CHOICEPGMA and CHOICEPGMB) as, so far as I can tell, there is no way of telling from the program parameters which list element the call relates to. Anyone know better?

It would be very nice if IBM could add an extra parameter, e.g. a number indicating which element of the parameter the call relates to, where the parameter is a list parameter. This would reduce the number of objects required by our system by about a dozen. We already have a generic choice control program, which is called by the various actual choice control programs used by our commands in the circumstances above, but the problem is we are still left with multiple choice programs because of the issue described above (albeit very trivial ones).

Pete


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.