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 the use of ikjeft1b utility in jcl?

1 Answers  


what r the types of job control statements?

2 Answers  


I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?

5 Answers   Polaris, Tech Mahindra, UST, Wipro,


Describe the DD statement, its meaning, syntax and keywords?

2 Answers  


can u execute a proc from another proc?

5 Answers   Logica CMG,


how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???

1 Answers  


When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,


is step name is compulsory in jcl ?

2 Answers  


How to run cobol program using jcl?

0 Answers  


Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE

4 Answers   Merrill Lynch,


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

0 Answers  


Explain dfsort utility?

0 Answers  


Categories