//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

Answers were Sorted based on User's Feedback



//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHIC..

Answer / 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

//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHIC..

Answer / prijey

Condition in Step3 refers to the maximum return code from
the prior steps.

If 4 is less than MaxCC from prior steps then Step 3 will
not be executed. Step 4 will be executed anyway.

Is This Answer Correct ?    7 Yes 0 No

//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHIC..

Answer / vishal sinha

1. Both
2. step 1,2,4

Is This Answer Correct ?    2 Yes 7 No

//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHIC..

Answer / sangeetha

that sondition will refer both return code from step2 &
step1...

Is This Answer Correct ?    0 Yes 6 No

//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHIC..

Answer / 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

More JCL Interview Questions

How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

0 Answers   CSC, SPIC,


what is the purpose of SYSOUT parameter in the DD statement?

1 Answers  


What is DSNDB06 ?

1 Answers  


Give the syntax of job specifying jcl statement.

0 Answers  


consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above

1 Answers  






How does jcl specify the job to the operating system?

0 Answers  


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

0 Answers  


Brief description of inline procedure of jcl.

0 Answers  


I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:

4 Answers   ITC Infotech, TCS,


Explain about RECORDING MODE Clause

1 Answers  


State the uses of syspring, sysin, sort fields, sum fields and dummy.

0 Answers  


How to execute a set of JCL statements from a COBOL program ?

6 Answers  


Categories