//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 print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


What statement marks the end of an in-stream or catalogued procedure?

1 Answers  


what is a MODELDSCB?

1 Answers  


you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or not there then how will you correct your jcl so that problem does not come. you should not create this file externally.how will u overcome it.

3 Answers  


What is the difference between Sysin,Sysout,Sysdbout and Sysudump?

3 Answers  






What u mean by include statement in JCL ?

3 Answers  


Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) What is SPOOL and what is SPOOL FULL ? and how to direct the output of a Jobstep to SPOOL ?

3 Answers   IBM,


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

6 Answers  


what is use of dcb parameter in dd statement?

0 Answers   IBM,


how can the same proc be re-used and called by many jobs?

0 Answers   IBM,


What is the motivation behind coding class parameter in job statement?

0 Answers  


what is the use of JCL?

0 Answers  


Categories