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


Please Help Members By Posting Answers For Below Questions

what is the JCL statement consists of?

695


Give the syntax of job specifying jcl statement.

636


What is the significance of addrspc parameter in the exec statement?

618


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?

643


Explain how can the attributes of one sms dataset be copied to another dataset?

703






What is the function of the dd mgmtclas keyword in sms datasets?

730


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1945


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

580


What is one line to pass PARM from JCL to COBOL?

653


Can we use DISP=SHR in output file in JCL

951


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2168


What is the motivation behind coding class parameter in job statement?

684


How can return codes be tested before execution of a job step?

919


Explain the function of job statement in jcl?

644


For what purpose steplib and joblib are used ?

688