I have 10 steps, I want to run STEP1 TO STEP4 then I should
not run STEP5 and STEP6. Aganin I want to execute from
STEP7 to STEP10. ONLY using CONDITION CODES how can we
execute this process?
1. Where we can set cond codes for STEP5 and STEP6?
2. How can we execute remaining steps from STEP7 to STEP10?
Answer Posted / lokesh
1) Use cond code as COND=(0,LT,STEP04) on step 05 and COND=
(0,LT,STEP04) on step 06. As return code is always non-
negative, step05 and step06 will never get executed.
2) To execute remaining steps, use cond code as (4,LT)
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
What is one line to pass PARM from JCL to COBOL?
What is Cataloged Procedures?
how to run batch program without jcl?
How jcl work to handle various input output file operations?
Is condition checking possible in jcl? If yes, how?
What are steplib and joblib?
How can the disposition of sysout datasets be set for an entire jobstream?
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?
what are the types of abends that occur on job failure? And explain the possible causes of these
how do you access an uncataloged dataset in a jcl?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain the purpose of the dd keylen parameter?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How to submit a jcl from cics?