A JCL SET statement value can also be passed and resolved as a PARM= 
string, so it is possible to write a program in your favorite language that 
takes 
the PARM= value and writes the data to a DD allocation in a job-step.  And if 
you must have multiple data lines substituted, for example as SYSIN, use 
multiple job-steps with DISP=NEW for the first step and DISP=MOD for each 
additional job-step. 

At one site I support, this technique is used to build IDCAMS control 
statements for execution.

Scott Barry
SBBWorks, Inc.

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