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

Where & How Do You Code Identifier In Jcl?

800


What is the function of the steplib dd statement?

824


What are the parameter we cannot use in procedure?

721


What is NOTCAT ?

842


what is use of space parameter in dd statement?

853






The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1063


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

914


What are the difference between jcl and jes?

1146


How can an in-stream dataset be terminated?

954


What is the function of //jcllib statement?

919


What do you understand by the term job time – out and how can you overcome that?

684


Where can program checkpoints be stored for use in a restart?

978


How does the jcl specify the job to os?

780


How to execute 2nd and 4th steps among 5 steps in jcl proc?

858


How is a type of file defined in the jcl that executes the cobol program?

817