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
Can we call instream to catalog and catalog to instream?
Brief description of inline procedure of jcl.
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
Is condition checking possible in jcl?
What are the parameter we cannot use in procedure?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
List the different components of jcl statement?
how can the same proc be re-used and called by many jobs?
Is their any set of rules for dd? Explain.
How would you understand error(execution phase)?
What is the function of the dd avgrec keyword in sms datasets?
How can an in-stream dataset be terminated?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
what is the compile process of cobol program expalin with code