//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 / arun
Condition in step3 refers to the same step return code.And
it does not refer step1 or step2 return code because the
condition is placed in step 3 only.If step3 condition is
satisfied then step4 will excute.
If condition is placed at the job then it will refer
previous step return code before excuting the current step.
| Is This Answer Correct ? | 1 Yes | 20 No |
Post New Answer View All Answers
How does the jcl specify the job to os?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Name what parameter directs the output of the job log dataset?
What are the 2 types of parameters in dd statement?
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.
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How to run cobol program using jcl?
How can an in-stream dataset be terminated?
Which statement is used to identify the private libraries in job?
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?
what operation is performed by job statement?
Give the syntax of job specifying jcl statement.
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
i want to store 20 digits . how will u do it in cobol ?
What is the format of comment statement?