Answer Posted / pradeep
The IEBGENER can be used to call one JCL from another JCL,
example:
//TEST003 JOB 'SORT002',MSGCLASS=X,CLASS=T
//*
//STEP001 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD DUMMY
Here the TEST003 Job when submitted, we inturn submit the
JCL member XXX.GENERAL.STUDY(TEST001)
| Is This Answer Correct ? | 25 Yes | 6 No |
Post New Answer View All Answers
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
how can the same proc be re-used and called by many jobs?
Give the syntax of job specifying jcl statement.
what is the difference between JES3 and JES2?
How is the record format of an output dataset specified?
what happens in execution stage in job processing?
what is DSN parameter and DISP parameter is used for?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
what JCL Procedures?
Define concatenating?
what is SOC4 error?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
how do you code a null statement?