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
Answer / nidhi
The JCL will throw error as the first line cannot be blank.
| Is This Answer Correct ? | 12 Yes | 2 No |
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 |
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 |
how to split a file
What happens if both JOBLIB and STEPLIB is specified ?
What is maximum length of block size?
5 Answers Cap Gemini, Kanbay, TCS,
in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes
Is their any set of rules for dd? Explain.
which parameter is used to check the syntax of a jcl without executing it?
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?
how to convert a file form fixed Length to variable length?
How can values be passed from the job stream to an executable program?
Can we give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ?
What is jcl in mainframe?
What is the exact difference between PRTY and DPRTY