In my job I have 6 steps. Step01,02,03...step06.
after executing step02 i want to skip step03 and want to
execute step04. and once step04 is done then I want to go
back and execute step03. once step03 is completed I want
execute step05, 06 and so on... can any one tell me how do
i do that???
Answer Posted / anil sana
You can do that using IEBEDIT. Pls read JCL manual for more
details. I am citing an example below.
The member XXXXX in SYSUT1 contains the job and steps to be
executed.
//STEP0001 EXEC
PGM=IEBEDIT
//SYSPRINT DD
SYSOUT=*
//SYSOUT DD
SYSOUT=*
//SYSUT1 DD DSN=ANIL.SANA(XXXXX),DISP=SHR
//SYSUT2 DD SYSOUT=
(*,INTRDR)
//SYSIN DD
*
EDIT START=ANILPROC,TYPE=INCLUDE,STEPNAME=
(STEP2,STEP4,STEP3,STEP5......)
/*
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What do you understand by the terms: joblib and steplib?
What is the syntax of JCL statement?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
what is the purpose of coding notify parameter in job statement?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
what is DSN parameter and DISP parameter is used for?
Explain the function of //cntl statement?
What does a disposition of (new,catlg,keep) for a dsn mean?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Explain the purpose of dd * statement in jcl?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
What is the function of job statement in jcl?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Mention the types of job control statements?