A recent discussing in ASSEMBLER-LIST reminded me of something I tried
to figure out a while ago (and didn't):

        Is is possible to somehow retrieve the JCL procedure parameters
and their values in a program that's invoked in that procedure?

I browsed the documentation of a large number of Jxxx and Sxxx control
blocks but didn't find anything that suggested this was possible. Does
anybody now if (and how) this could be done?

Some background information: we use a utility that reads controls cards
from a sequential datasets and replaces variables in the controlcards by
values. The result is wriiten to an output file that can thren be used
to control a program in the next jobstep. The variables and values are
passed to the utility via EXEC PARM= as a series of
"field=value,field=value" pairs. This allows you to stick JCL parameter
values in the control card. The problem is the maximum size of the PARM=
parameter that severy limits the number of variables and the length of
the values. This could be fixed if the values wouldn't have to be passed
via the PARM= parameter because the utility could somehow get directly
to the current JCL parameters and their values....

Thanks for any input you can give,

Fred!
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to