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 / rekha
In JOB card give Restart=(name of the second step).
After that for every ODD numbered step give the cond as
COND=(0,GE) because the Condition Code will starts from 0
onwards,so every odd step will be skiped and only the even
steps will be executed.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
How can an in-stream dataset be terminated?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Explain the function of //jcllib statement?
In job processing, what happens in conversion stage?
How gdg are concatenated?
what are the statements that are not valid to be included in an include statement?
how can the same proc be re-used and called by many jobs?
Differentiate between addressing mode and run mode.
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
how you can access an uncataloged dataset in a JCL?
Can I send output of job to my remote device careerride123?
What is the difference between run mode and addressing mode?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Must tape dataset definitions include vol=ser specifications?