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

what is DSN parameter and DISP parameter is used for?

0 Answers  


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

4 Answers   CTS, TCS,


i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?

2 Answers   Syntel,


Explain the function of dd disp parameter?

0 Answers  


what are the statements that are not valid to be included in an include statement?

0 Answers   IBM,






what do you mean By spooling? Expand SPOOL?

4 Answers  


what is the compile process of cobol program expalin with code

0 Answers   IBM,


Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before the job having class '5'? then what is the difference between CLASS and PRTY ? 2) In a same JCL, 2 JOB statements with different Classes and NO PRTY are submitted ? which will run first ? & with different classes and different PRTY also, which will run first now ?

3 Answers   IBM,


What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?

2 Answers  


How do you access an uncatalogued dataset in a jcl?

0 Answers  


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

0 Answers   IBM,


Categories