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
Answers were Sorted based on User's Feedback
Answer / krishna
3 IS WRONG
BECUASE IN THE THIRD STMT PGR USED BUT IT IS PGM MEANS IT SPECIFIES THE PROGRAM NAME TO BE EXECUTED.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Answer / piyush mani
1 is wrong bcoz we cant code stepname more than 8 charecter
2 is ok..
3 is wrong bcoz pgr is not a valid it shd b pgm..
give ur feedback.....thanks
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / mohan.chepuri
1)is wrong
job name should be maintain 8 char
| Is This Answer Correct ? | 5 Yes | 4 No |
Answer / romang
I) label is too long - 8 characters maximum.
PS This is Stepname, not jobname.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mohan.chepuri
1)is wrong
job name should be maintain 8 char
| Is This Answer Correct ? | 2 Yes | 3 No |
how to create a member or sequential dataset through tso command??
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 happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
wht is step lib n job lib ? where can we code joblib n steplib ?
How many extents are possible for a sequential file ? For a VSAM file ?
In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?
14 Answers Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,
We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
How do You skip a Step In JCL?