What is the error in the following JCL statements :
I) //step#three exec pgm=hkbc762
ii) //step#3 exec pgm = hkbc762
iii) //step#3 exec pgr = hkbc672
Answer Posted / muttiah
All the three statements are wrong.
1. Stepname is more than 8 char's
2. There is a space between 'pgm = hkbc762'
3. The name of PGM is given as PGR.
The correct statement would be
//STEP#3 EXEC PGM=HKBC762. --- TRY THIS.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What are hierarchy levels in jcl?
Explain about LMFREE�free data set from its association with data ID
Are there any set of rules for the names of the steps used in a job? What are they?
How do you overcome this limitation ?
what happens in execution stage in job processing?
Can I share my data with other jobs? How?
What is use of restart and how to use it?
how you will the direct the data to spool using sysout option?
Are there any set of rules for the names of the steps used in a job?
when can a job time-out occur? How to overcome that?
Give the syntax of job specifying jcl statement.
How does the jcl specify the job to os?
How gdg are concatenated?
What are the rules employed while naming the steps in a job?