What will happen if you attempt to restart a job in the
middle of a JCL // IF .... // ENDIF?

Answers were Sorted based on User's Feedback



What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?..

Answer / guest

Job will fall through to the ENDIF (not executing any
steps), then resume execution with the first step AFTER the
// ENDIF.

Is This Answer Correct ?    7 Yes 1 No

What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?..

Answer / mahesh babu

step which is coded after the If and End-If will be executes

Is This Answer Correct ?    2 Yes 0 No

What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?..

Answer / brahmareddy.t

If you code restart in between if & end-if
the job will execute from first step.
i.e. if you want to restart step5 in between if $ end-if then it will start from step1.

Is This Answer Correct ?    1 Yes 2 No

What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?..

Answer / satheesh

It will fail with JCL error.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More JCL Interview Questions

I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter

8 Answers  


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

0 Answers  


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


What you mean by skeleton JCl?

2 Answers  


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

0 Answers  






What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?

3 Answers   IBM,


Please explain with syntax and an example, the Inrec fields and Outrec build in sort.

4 Answers   CTS, TCS,


wht do u mean by inrec and outrec ?

1 Answers   IBM,


What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a generation we can use +1, 0, -1 etc while with PDS member we can not ?

7 Answers   IBM,


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

0 Answers  


Is it possible to left uncode disp?

0 Answers  


What is a PROC? What is the difference between an instream and a catalogued PROC?

2 Answers  


Categories