in a series of 10 steps, i need to run only 1,3,5,7 & 9th
steps only. how do u code?
Answers were Sorted based on User's Feedback
Answer / jagan mohan
by using iebedit utility and specifying required steps in controlcrds we can execute it.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / paray2x
You need to know what return codes Steps 1,3,5,7 and 9 will
give if they execute successfully. Based on that, you can
code COND parameter in STEPS 2,4,6,8 and 10 to bypass them.
This will help if you do not have IEBEDIT.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / swathi
//Jobname
//step1 exec pgm=iebedit
//s1
//s2
//s3
.
.
.
//s10
//sysin dd*
start jobname type = include(s1,s3,s5,s7,s9)
/*
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vinay sonar
//STEP1 EXEC PGM=IEBEDIT
//SYSIN DD*
EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP3,STEP5,STEP7,STEP9)
/*
| Is This Answer Correct ? | 1 Yes | 0 No |
What is condition checking in jcl? Is this possible?
What is the function of the dd dcb keyword?
Can we delete the data using IEFBR14 , IEBGENER??
i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl
What is QSAM error usually when it is occurs?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
Does the terms, JOBLOG, SPOOL and SYSOUT indicate the same thing, i.e., where JCL and JES messages and statements are written ?
Min no of member?s (PDS) in one directory block?
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??