Le 04/04/2022 à 22:19, smith5646midrange@xxxxxxxxx a écrit :
I need to create a command with parameters that vary based on other values
entered. The best example I can think of is the SAVOBJ command. If I
specify DEV(*SAVF), it provides the area to enter the savf name. If I
specify DEV(TAPMLB30), it provides the area for the volume identifier and
sequence number.

This is the PMTCTL parameter of PARM keyword.

https://www.ibm.com/docs/en/i/7.4?topic=parameter-specifying-conditional-prompting-cl-command


I have googled for how to do this but I am apparently missing the keywords
(no pun intended) for google to return the correct search results. Does
anyone have a command that does this that they would be willing to share?
There is an example in the document pointed to by the link above.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.