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

Explain the function of dd disp parameter?

599


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

720


Explain how can the disposition of sysout datasets be set for an entire jobstream?

638


Matching Logic in Jcl not in cobol.Could any one please answer this question

3675


Explain the function of //jcllib statement?

709






How dummy is used in jcl?

651


What is timing concept in mainframe?

1664


How do you submit a job for execution?

640


what is the difference between JES3 and JES2?

685


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?

651


What is NOTCAT ?

744


What are s0c1, s0c4, s0c5, s0c7 and socb?

707


What are steplib and joblib? What for they are used?

697


What is the maximum length of a single line of jcl?

831


What are the 4 fields in dd statement?

746