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

Why include statement is used in a jcl?

0 Answers  


SORT card to eliminate duplicity.

1 Answers   Syntel,


How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?

5 Answers   IBM,


Why do you want to specify the REGION parameter in a JCL step?

4 Answers   Kekran Mekran, TCS,


Explain about CBL/PROCESS statement syntax

1 Answers  






Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

8 Answers   Saggezza,


How many positional parameters are there in job statement?

4 Answers  


How do you submit a JCL under CICS environment ?

1 Answers   IBM,


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

2 Answers  


Is it possible to code instream data in a PROC?

0 Answers  


IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)

8 Answers  


What is the improvement to COND= in the latest version of MVS?

3 Answers  


Categories