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 |
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?
What is a PROC? What is the difference between an instream and a catalogued PROC?
I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...
How to execute step2,step1,step3 when step1,2&3 are in order
how to count the number of members in pds?
If Region=0k means What Happen?
What is the differentiation between TRK,cyl, and Bytes... how they can be connected??
do we need to mention the location of catalogued procedure for each it's call in a single job?
What is the use of symbol // in jcl?
i want to store 20 digits . how will u do it in cobol ?