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 |
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.
Explain the jcl exec statement?
a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
Are there any set of rules for the names of the steps used in a job?
What is the function of job statement in jcl?
What is QSAM error usually when it is occurs?
What does the one advantange of using IEBUPDTE?????
what is A-MODE and R-MODE?
How to concatenate different LRECL of files?
wht happens if blksize = 0 and lrec = 0 ?
what is XSUM in some fields= none, xsum ??