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 are the parameters that are used in creating a gdg?
What is the purpose of dd dummy statement?
what is SOC4 error?
What is the function of a dd statement?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
what is the purpose of coding notify parameter in job statement?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Explain how can a stopped job be started again?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Is their any limit for data sets?
What is the function of the steplib dd statement?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What is jcl in mainframe?