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 |
difference between internal sort and external sort
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?
How to create delta file using JCL
//step#3 exec pgm = hkbc762 what is wrong with the syntax?
How can a fb file convert to vb file using sort program?
in jcl you are having JCLLIB and STEPLIB what happens
Explain how can the disposition of sysout datasets be set for an entire jobstream?
I have one GDG. Everyday One new version is being created.Now I want to split this created version in different files each having 1000 records. Here Problem is I don't know How many records will be there in new version of GDG? that's why I don't know How many Out files we need to use . Interesting??????????????
if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario
In job processing, what happens in execution stage?
How does jcl act on code(if you take a cobol program)?