JCL Example:
//
//RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID
//STEP01 EXEC PGM=IEFBR14
//
..
..

If this JCL will run or it'll throw the ERROR?

Answers were Sorted based on User's Feedback



JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // ..

Answer / nidhi

The JCL will throw error as the first line cannot be blank.

Is This Answer Correct ?    12 Yes 2 No

JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // ..

Answer / debasish kumar pothal.

yes, the JCL will throw an error as the 1st line should not
be let blank and there is no job card in the 1st line...
without the job card the JCL cannot run any program.

Is This Answer Correct ?    8 Yes 2 No

JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // ..

Answer / stu

"//" with nothing else on the line is a "null" card which
tells the internal reader to stop reading even though there
may be subsequent lines containing text. This will result
in a job with no job card which will cause an error.

Is This Answer Correct ?    4 Yes 1 No

JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // ..

Answer / venkat

Yes Lu. As per ur requirement if i added account info.
What will happen for the "double //" when JCL starts
executing?

//
//RUNJCL JOB ,'COUNT',CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID
//STEP01 EXEC PGM=IEFBR14
//
..
..

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More JCL Interview Questions

How dummy is used in jcl?

0 Answers  


a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3 only when step2 of proc executes successfully

3 Answers  


I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?

2 Answers   IBM,


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

0 Answers  


i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?

4 Answers   DELL,






One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?

1 Answers   CTS,


Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.

4 Answers   TCS,


Explain the function of the steplib dd statement?

0 Answers  


What is the use of IEBGENER ?

2 Answers   Cap Gemini, Wipro,


how can we override data definitions in jcl. can any one give detailed example

3 Answers   TCS,


COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?

4 Answers   IBM,


how to split a file

4 Answers   IBM,


Categories