If there are five steps in a JCL i have to execute the 3rd
step, bypass the 4th step and execute the 5th step how do i
do this?
Answer Posted / sivakumar sekharannair
1)Give restart=step03 in job card
2)in step04 give cond=(0,le)
3)step05 no condition neeeded
sample jcl is given below
//AAUT001D JOB ,'TEST',MSGLEVEL=(1,1),CLASS=C,MSGCLASS=H,
// NOTIFY=&SYSUID,RESTART=STEP003
//STEP001 EXEC PGM=AUT0EMP
//EMPLOY1 DD DSN=PROGMR.SBPD.EMP.DATA.SAMPLE1,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//STEP002 EXEC
PGM=AUT0EMP
//EMPLOY1 DD
DSN=PROGMR.SBPD.EMP.DATA.SAMPLE1,DISP=SHR
//SYSPRINT DD
SYSOUT=*
//SYSOUT DD
SYSOUT=*
//STEP003 EXEC PGM=AUT0EMP
//EMPLOY1 DD DSN=PROGMR.SBPD.EMP.DATA.SAMPLE1,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//STEP004 EXEC PGM=AUT0EMP,COND=
(0,LE)
//EMPLOY1 DD
DSN=PROGMR.SBPD.EMP.DATA.SAMPLE1,DISP=SHR
//SYSPRINT DD
SYSOUT=*
//SYSOUT DD
SYSOUT=*
//STEP005 EXEC PGM=AUT0EMP
//EMPLOY1 DD DSN=PROGMR.SBPD.EMP.DATA.SAMPLE1,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What are the parameter we cannot use in procedure?
How can a fb file convert to vb file using sort program?
Explain the function of //jcllib statement?
How do you submit a job for execution?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Explain the function of dd disp parameter?
Define concatenating?
List the different jcl statements that are not permitted in the procedures?
whats the diff bw the evaluate also and and?
what is the use of IEBGENER utility?
Explain the hierarchy levels in jcl?
what operation is performed by job statement?
What are the rules employed while naming the steps in a job?
how do you code a null statement?
How would you understand error(execution phase)?