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
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
In sms datasets, what is the function of the dd avgrec keyword?
Explain the function of dd disp parameter?
Explain the job statement in jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
what are the statements that are not valid to be included in an include statement?
what is JCL?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
How does jcl specify the job to the operating system?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
How does the jcl specify the job to os?
Explain how can values be passed from the job stream to an executable program?
How is the record format of an output dataset specified?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?