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
How is a type of file defined in the jcl that executes the cobol program?
What is jcl in mainframe?
What are the jcl procedures?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What are the 2 types of parameters in dd statement?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
Explain the function of the steplib dd statement?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Is their any limit for data sets?
How to run cobol program using jcl?
How do you submit a job for execution?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Is condition checking possible in jcl?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
How can values be passed from the job stream to an executable program?