Fred, Have you looked at the Control Card Subsystem??? 

I am pretty sure it is available from www.cbttape.org. If not contact me
directly. It might provide the functionality you need.

Alan

-----Original Message-----

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!

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