I have a JCL with 100 steps. I want run the Alternate steps
in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this
scenario? If It is by Cond Parameter can you provide the
Condition code for that?
Answer Posted / alla srikanth
small change*** no need to mention cond=EVEN on on job
statement
specify restart=step2 on job statement i.e,
execution begings at step no 2 and every step from step2
onwards executed.
for odd number jobsteps specify cond=(o,le)(condition is
ture for all return codes hence steps with this cond code is
bypassed)
hence begin at step2 and odd no steps are bypassed i.e even
steps are executed
Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
what is the JCL statement consists of?
Give the syntax of job specifying jcl statement.
What is the significance of addrspc parameter in the exec statement?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
Explain how can the attributes of one sms dataset be copied to another dataset?
What is the function of the dd mgmtclas keyword in sms datasets?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What is one line to pass PARM from JCL to COBOL?
Can we use DISP=SHR in output file in JCL
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What is the motivation behind coding class parameter in job statement?
How can return codes be tested before execution of a job step?
Explain the function of job statement in jcl?
For what purpose steplib and joblib are used ?