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 |
AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
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
If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)
what is d/f b/w sysout & sysprint
How do you override a specific DDNAME/SYSIN in PROC from a JCL?
Can I send output of job to my remote device careerride123?
How do you handle empty files in a JCL ?
how do you resolve for soc7 error
What is the max blocksize for a Tape file?