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 / srk

specify restart=step2,cond=even 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 ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of dd dummy statement?

949


Can we call instream to catalog and catalog to instream?

685


What are the difference between jcl and jes?

1050


What is the difference between the positional and keyword parameters? Give examples.

716


What is the function of job statement in jcl?

638






I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2111


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

587


What is job control language?

613


What are the 2 types of parameters in dd statement?

654


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5066


What are the 4 fields in dd statement?

746


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

694


what is “Cond= even” and “Cond=only”?

746


What parameter directs the output of the job log dataset?

769


How to override loadlib?

1432