there are 10 steps in jcl how to execute the steps from
step2 to step8 only
Answer Posted / suputhru
AAA BHAI LOOG, First understand the requirement.
1.we can't code COND=(0,LE) for first step.
here we can use COND=only,
2.for not execution of 9 and 10 use COND=(0,LE)
else direct answer: IEBEDIT utility.
Incude 2 to 8 stepnames.
ex:
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE, STEPNAME=(STEP001,STEP002,...STEP008)
/*
Similarly, we can use TYPE=EXCLUDE to exclude the steps from exec.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is Cataloged Procedures?
when can a job time-out occur? How to overcome that?
Define concatenating?
How does jcl specify the job to the operating system?
Explain in DD statement what is the use of DCB parameter?
How can a stopped job be started again?
Is there any command to check wether the ps file is in sorted order?
In job processing, what happens in execution stage?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What are the rules employed while naming the steps in a job?
Can we call instream to catalog and catalog to instream?
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?
how can you check if a file is empty using jcl?
which parameter is use to declare the name of dataset in dd statement?
Is acct parameter mandatory?