Saturday, April 12, 2014

How to execute only one step in a Job?



There are two ways to do it, first one is by using the Restart option, we can restart the job from that step only and place override on below steps with COND=(0,LE).

Another ways is to use IEBEDIT utility – 

//STEP001  EXEC PGM=IEBEDIT                                   
//SYSUT1     DD  DSN=USERID.ABC.JCLLIB(JOBNAM1),DISP=SHR   
//SYSUT2     DD  SYSOUT=(*,INTRDR)                             
//SYSPRINT  DD  SYSOUT=*                                      
//SYSIN         DD  *                                              
  EDIT TYPE=INCLUDE,STEPNAME=(STEP010)                      
/*

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home