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 need exexution process for JCL programs
what is SOC4 error?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What is the use of symbol // in jcl?
What is the significance of addrspc parameter in the exec statement?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Can an individual step be restricted from using all the jobs allowed cpu time?
which parameter is use to declare the name of dataset in dd statement?
Is their any limit for data sets?
what are the types of abends that occur on job failure? And explain the possible causes of these
How does the jcl specify the job to os?
How does jcl act on code(if you take a cobol program)?
What is the difference between the positional and keyword parameters? Give examples.
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
if the submitter of a job wants to inform another user about the job completion, how can it be done?