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

How to find the number of duplicates in a file using Sort?

4 Answers   Fidelity,


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

0 Answers  


When output dataset space is required, what quantity categories are used?

0 Answers  


what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.

6 Answers   HCL,


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

0 Answers  






GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?

2 Answers   ABC, IBM,


how to increase the space of a dataset in instream procedure.

1 Answers   HCL,


What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?

3 Answers  


Why include statement is used in a jcl?

0 Answers  


What are three parameters you can specify on Job statement as well as on exec stmt ?

1 Answers  


Explain how can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?

13 Answers   CGI, DSRC, IBM,


Categories