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 |
State the uses of syspring, sysin, sort fields, sum fields and dummy.
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
how to increase the space of a dataset in instream procedure.
I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.
when does a dataset go uncataloged?
I have a PDS and want to omit few rows of all members of a PDS. How to do it?
//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
What is STEPLIB, JOBLIB? What is it used for?
How do you pass parameters to the program as the job is being executed ?
Explain COND used in JCL?