Pass value from one JCL to the sym parm in another JCL
Posted: Thu Aug 28, 2014 5:13 pm
Hi All,
Need a help about how to pass value to symbolic parm in another JCL
Value from JCL 1 ---> sym parm in JCL2
Following are the sym variables defined in JCL2
Following is how we are triggering JCL2 from JCL1
What changes should we make in the above code, so as to pass the value to JCL2, while triggering from here ? Please help us here
Need a help about how to pass value to symbolic parm in another JCL
Value from JCL 1 ---> sym parm in JCL2
Following are the sym variables defined in JCL2
//&JOBNAME JOB ...
// MSGCLASS=Z,CLASS=U,NOTIFY=&USER
...
//SORTIN DD DSN=&INPUTFIL,
...
//STEP07.PDF DD DSN=ACCTTEST.EXSTREAM.PDFOUT.R&RRR.C&CCC..XXX,
...
// MSGCLASS=Z,CLASS=U,NOTIFY=&USER
...
//SORTIN DD DSN=&INPUTFIL,
...
//STEP07.PDF DD DSN=ACCTTEST.EXSTREAM.PDFOUT.R&RRR.C&CCC..XXX,
...
Following is how we are triggering JCL2 from JCL1
//SUBMIT2 EXEC PGM=IEBGENER
//SYSUT1 DD DISP=SHR,DSN=XXXXXX.XXX.DONTUIM.JCLS(TESTUIM)
//SYSUT2 DD SYSOUT=(B,INTRDR)
//SYSPRINT DD DUMMY
//SYSUT1 DD DISP=SHR,DSN=XXXXXX.XXX.DONTUIM.JCLS(TESTUIM)
//SYSUT2 DD SYSOUT=(B,INTRDR)
//SYSPRINT DD DUMMY
What changes should we make in the above code, so as to pass the value to JCL2, while triggering from here ? Please help us here