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
In job processing, what happens in conversion stage?
Is it possible to left uncode disp? If yes, how?
How can values be passed from the job stream to an executable program?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
what are the statements that are not valid to be included in an include statement?
What is one line to pass PARM from JCL to COBOL?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
Explain the jcl exec statement?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What dd statement is used to supply the name of a dataset?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How does jcl specify the job to the operating system?
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' ?
How does the jcl specify the job to os?
What is the maximum length of a single line of jcl?