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 |
Can a PS file be read in reverse order?If so,how
What is the purpose of dd dummy statement?
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
How to ALTER the name of a GDG ?
In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?
Can you execute a PROC from another PROC?
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step
How can a fb file convert to vb file using sort program?
In how ways you can pass the data from Jcl to cobol ?
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