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

if the submitter of a job wants to inform another user about the job completion, how can it be done?

0 Answers   IBM,


which utility is used a dummy utility?

0 Answers   IBM,


What is GDG and what is the maximum limit of versions that can be created?

9 Answers   Convergys,


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

4 Answers   CTS, TCS,


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

5 Answers   iGate,






IN-STREAM DATA NOT ALLOWED IN PROC how can come out from this problem

7 Answers  


When should DISP=MOD is used?

6 Answers   TCS,


is there any utility for restarting a particular step in jcl reply soon ?

5 Answers  


if we give two job cards in a single what happens

3 Answers   IBM,


List the various advantages of using jcl language?

0 Answers  


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  


How can u know the current date using jcl?

2 Answers   iNautix, Wipro,


Categories