how to submit another job from a job step
Posted:
Mon Sep 14, 2009 1:35 pm
by dvramanad
hi friends,
Please help with the questions.
how do i submit another job from a job step????
thanks for ur concern.
Re: how to submit another job from a job step
Posted:
Mon Sep 14, 2009 2:34 pm
by MrSpock
1. Use batch TSO for the job step and use the TSO SUBMIT command:
//STEPXXXX EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SUBMIT 'MY.JCL(MEMBER)'
/*
2. Route JCL directly to the JES Internal Reader:
//STEPXXXX EXEC PGM=IEBGENER
//SYSUT1 DD DSN=... dataset containing JCL
//SYSUT2 DD SYSOUT=(A,INTRDR) ... check with your site's standards
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY