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
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
What are the utility programs in jcl?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Is it possible to left uncode disp?
Explain dd statement in jcl?
what operation is performed by job statement?
Explain the purpose of dd dummy statement?
What are the rules employed while naming the steps in a job?
Define concatenating?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
Explain about ISPF/TSO Commands
Explain dfsort utility?
List the different components of jcl statement?
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 ?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?