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
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 dd statement is used to supply the name of a dataset?
Is condition checking possible in jcl?
How can a stopped job be started again?
What do you understand by the terms: joblib and steplib?
Can I send output of job to my remote device careerride123?
Explain the purpose of dd dummy statement?
Explain the hierarchy levels in jcl?
Why include statement is used in a jcl?
Explain how can return codes be tested before execution of a job step?
Is it possible to code instream data in a PROC?
what is JCL?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
How to submit jcl through a cobol program?
What is the purpose of dd?