//ERFDS JOB
//STEP1
//STEP2
//STEP3...COND=(4,LT)
//STEP4
1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE
(STEP1 OR STEP2)?
2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH
STEPS WILL EXECUTE?? AND WHY?
IF CONDITION IN STEP3 SATISFIES
Answer Posted / jagan
1. Condition in Step3 refers to the return code from STEP2.
2. If the condition COND=(4,LT) satisfies then step4 will be
executed byapssing step3 , if the condition doesn;t satisfy
then STEP3 will be executed.
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
what is DD statement is used in JCL?
Explain the function of //cntl statement?
How can return codes be tested before execution of a job step?
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?
How can the disposition of sysout datasets be set for an entire jobstream?
what are the statements that are not valid to be included in an include statement?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
write a jcl to execute a job by 7:00 am on jan 20,1986?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What is the use of disp parameter?
How does jcl act on a cobol code?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Is their any set of rules for dd? Explain.