|
In defining a command's parameters, I see a number of ways to define what values are specifically *allowed* for a parameter.
Is there a way to define several (in this case, ten) distinct values *prohibited* for a parameter?
In this case, the parameter is a value to be passed to a SBMJOB's "USER" parameter, and so it should accept either a valid SNAME or "*CURRENT," but reject the user profiles that are prohibited for that parameter of SBMJOB.
And if I can reject it at the command level, rather than the CPP level, then a wrong value will of course keep it from compiling in a CL program, and make it fail a syntax check in SEU.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.
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.