|
On Fri, Apr 12, 2013 at 5:17 PM, Carel wrote:
On 12 Apr 2013 14:11, Stone, Joel wrote:
<<SNIP>> It appears that if I want to return a value, then the
value MUST be used in every call of the command. Is it possible
to make a return variable optional?
IIRC the old technique in CLP was to globally monitor for MCH3601
without doing nothing or put that MONMSG on each CMD variable in
the CLP
Not passing a PARM is not passing a pointer, which MCH3601 tells
you.
I believe the program has to be of type CLLE, not CLP. At least up
to V5R4, a plain CLP will not even run with an unpassed parameter.
(The job attempting to CALL the CLP gets CPD0172:
"Parameters passed on CALL do not match those required.")
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.