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 is the use of disp parameter?
How to pass data to a program that is coded in an exec 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
Is it possible to define dd statements as you want?
what operation is performed by job statement?
Is automatic restart possible in jcl?
How does the jcl specify the job to os?
A dd statement consists of 4 fields. Name them?
when does a dataset go uncataloged?
what is the use of IEBGENER utility?
What is timing concept in mainframe?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what happens in conversion stage in job processing?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What are some jcl statements that are not allowed in procedures?