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 |
What statement can be used to send data to another mvs jes3 node?
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
What is the difference between these two parameters? -> accounting information -> class how would it bring the differrence to a program?
how to put a dependency on job in jcl using opc scheduler?
Can you give the sort card to arrange the specific column in the version of GDG.
What is the function of the steplib dd statement?
What are the 4 fields in dd statement?
i have a ps with two columns eno and ename , i need to copy eno column values in one ps and ename column values in one Ps ? is it possible through iebgener . how ? thx in advance
What is model dataset label(Model DSCB)?
what is the restart?hopw it is invoked?
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance
What are the default system and catalog libraries in JCL?