My JCL have five steps & I created new versions of GDG in
first step through fourth step & fifth step I was refered
Step one GDG version. My JCL got abend at 4th step and how
I can restart my JCL Please let me know the answers.
//STEP1 EXEC GDG1(+1) DISP=(NEW)
//STEP2 EXEC GDG1(+2) DISP=(NEW)
//STEP3 EXEC GDG1(+3) DISP=(NEW)
//STEP4 EXEC GDG1(+4) DISP=(NEW)
//STEP5 EXEC GDG1(+1) DISP=(OLD)
Answers were Sorted based on User's Feedback
Answer / chandrababu
JCL got Abended at 4th step, You need to restart from STEP4
In STEP4 use GDG1(+1),DISP=NEW
In STEP5 use GDG1(+1),Disp=SHR.
Hope this make correct .
| Is This Answer Correct ? | 2 Yes | 24 No |
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Why do you use a control card?
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
i need some shortcuts and tso commands can any on ehelp me in these ?
Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?
MOD, DELETE; What does a disposition of (,DELETE) mean ?
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01
What is a COND parameter in JCL?
Mention the types of job control statements?