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
Name the statement which can be used to send data to another mvs jes3 node?
What is one line to pass PARM from JCL to COBOL?
How can the submitting users racf authority be overridden in a job stream?
What is the purpose of dd dummy statement?
What happens if both JOBLIB & STEPLIB is specified ?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Describe the various parameters utilized in the creation of a gdg?
Can we call instream to catalog and catalog to instream?
Are there any set of rules for the names of the steps used in a job?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
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.
Explain the function of the steplib dd statement?
how you can access an uncataloged dataset in a JCL?
what is “Cond= even” and “Cond=only”?
What parameter directs the output of the job log dataset?