execute multiple jobs trough single JCL
Posted: Tue Nov 12, 2024 10:03 pm
Hello,
How to execute multiple jobs trough single JCL
How to execute multiple jobs trough single JCL
Code: Select all
//JOB1 JOB 1,'Job 1',MSGCLASS=A,CLASS=A,PRTY=6
//*********************************************************************
//STEP1 EXEC PGM=IEFBR14
//
//JOB2 JOB 1,'Job 2',MSGCLASS=A,CLASS=A,PRTY=6
//*********************************************************************
//STEP1 EXEC PGM=IEFBR14
//Code: Select all
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=jcl-dataset(member),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR) enrico-sorichettiREMEMBER ...
depending on the system setup
the jobs might not be executed in the sequence you see in the submitted file