If a job has 3 steps and step 1 and step 3 should get
executed and step 2 should not get executed irrespective of
the return code from the previous steps. How can it be done?
Answer Posted / ramesh
Use IEBEDIT to skip step 2 and execute step1 and step3 as below
//XXXXXXXX JOB (XXX),'XXXXXXXXXXXXXXXXX',MSGLEVEL=(1,1),
// CLASS=D,PRTY=5,MSGCLASS=T,NOTIFY=&SYSUID
//STEP01 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXXXXXXX.XXXX.XXXX(MEMBER NAME),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=EXCLUDE,STEPNAME=(STEP01,STEP05)
/*
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is the resolution for sb37 error
define cond parameter in jcl?
Explain the purpose of dd dummy statement?
What are steplib and joblib?
Is automatic restart possible in jcl?
Explain the job statement in jcl?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What is the function of dd name parameter with a 2 part structure; audit.report?
What are the utility programs in jcl?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is use of restart and how to use it?
what are JCLLIB and STEPLIB in JCL?
Explain the function of the dd dcb keyword?
What is the function of the steplib dd statement?
write a jcl to execute a job by 7:00 am on jan 20,1986?