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
Explain how can the disposition of sysout datasets be set for an entire jobstream?
List in order the hierarchical levels of jcl?
How does jcl act on a cobol code?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Explain how can the attributes of one sms dataset be copied to another dataset?
How would you understand error(execution phase)?
Explain the hierarchy levels in jcl?
what happens in execution stage in job processing?
How do you access an uncatalogued dataset in a jcl?
Can I share my data with other jobs? How?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
whats the diff bw the evaluate also and and?
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?
Which statement is used to identify the private libraries in job?
what is the purpose of coding notify parameter in job statement?