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
Where & How Do You Code Identifier In Jcl?
What is the function of the steplib dd statement?
What are the parameter we cannot use in procedure?
What is NOTCAT ?
what is use of space parameter in dd statement?
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 ?
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?
What are the difference between jcl and jes?
How can an in-stream dataset be terminated?
What is the function of //jcllib statement?
What do you understand by the term job time – out and how can you overcome that?
Where can program checkpoints be stored for use in a restart?
How does the jcl specify the job to os?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
How is a type of file defined in the jcl that executes the cobol program?