how to submit another job from a job step



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

how to submit another job from a job step

Postby dvramanad » Mon Sep 14, 2009 1:35 pm

hi friends,

Please help with the questions.

how do i submit another job from a job step????

thanks for ur concern.
dvramanad
 
Posts: 6
Joined: Mon Sep 14, 2009 12:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to submit another job from a job step

 

Re: how to submit another job from a job step

Postby MrSpock » Mon Sep 14, 2009 2:34 pm

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
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: how to submit another job from a job step

Postby dvramanad » Mon Sep 14, 2009 3:37 pm

thank you so much
dvramanad
 
Posts: 6
Joined: Mon Sep 14, 2009 12:51 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post