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?
Answers were Sorted based on User's Feedback
Answer / harsih
there 2 ways for this
FIRST METHOD is use ibm utility called "IEBEDIT" and in
sysin in the include statement , give he steps u want to
execute..........
SECOND METHOD = and the steps whicc u dowant to excute code
COND{O,LE} ON THOSE STEPS
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / 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 |
What is the difference between these two parameters? -> accounting information -> class how would it bring the differrence to a program?
What are the basic JCL Statements for a Job?
Explain the function of the dd dcb keyword?
what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?
Max. No of DD statements in a job ?
If job is submitted with typerun = hold then how can we submit the same job?
How to send data from cobol program to jcl?
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
What is QSAM error usually when it is occurs?
can we write a proc with in a proc
How are datasets concatenated?
can u execute a proc from another proc?