View previous topic :: View next topic
|
Author |
Message |
venkataramanak
New User
Joined: 27 Nov 2005 Posts: 4
|
|
|
|
There are 10 steps in my job. The job abended at step6. I created some generations before step6. If I restart the job at step6 then how should I refer to those GDG generations?
Ramana. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Ramana,
It depends on how many generations you created in the orig run:
If you created 3:
You created the 1st w/dsn=dsn1(+1), use dsn=dsn1(-2) on restart.
You created the 2nd w/dsn=dsn1(+2), use dsn=dsn1(-1) on restart.
You created the 3rd w/dsn=dsn1(+3), use dsn=dsn1(0) on restart.
If you created 2:
You created the 1st w/dsn=dsn1(+1), use dsn=dsn1(-1) on restart.
You created the 2nd w/dsn=dsn1(+1), use dsn=dsn1(0) on restart. |
|
Back to top |
|
|
venkataramanak
New User
Joined: 27 Nov 2005 Posts: 4
|
|
|
|
Hi mmwife,
Thank you
Regards,
Ramana |
|
Back to top |
|
|
rohit_y
New User
Joined: 23 Nov 2005 Posts: 4
|
|
|
|
The thing is GDG won't be cateloged until the end of job successfully.
If the job isn't completed successfully then the gdg won't be catelog successfully. |
|
Back to top |
|
|
k_vikram07
New User
Joined: 23 Nov 2005 Posts: 35
|
|
|
|
I agree with rohit.
It also depends on the dispositions used in the previous steps.
Thanks
Vik |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Rohit-Y,
The datasets CAN be cataloged even if the job abends, provided that the job abends AFTER the the step that created the GDG dataset completes SUCCESSFULLY and the DISP was coded appropriately. |
|
Back to top |
|
|
sbalajibe
New User
Joined: 15 Aug 2005 Posts: 62
|
|
|
|
hi ,
in this case i think there is no need to use restart to step 6 to create new , because new generation always starts with (+1)
this is how u r jcl look like
//job
//step1 dd dsn abcd.gdg(+1), disp(,catlg)
//step2 dd dsn abcd.gdg(+2), disp(,catlg)
//step3 dd dsn abcd.gdg(+3), disp(,catlg)
//step4 dd dsn abcd.gdg(+4), disp(,catlg)
//step5 dd dsn abcd.gdg(+5), disp(,catlg)
//step6 dd dsn abcd.gdg(+6), disp(,catlg)
//step7 dd dsn abcd.gdg(+7), disp(,catlg)
//step8 dd dsn abcd.gdg(+8), disp(,catlg)
//step9 dd dsn abcd.gdg(+9), disp(,catlg)
//step10 dd dsn abcd.gdg(+10), disp(,catlg)
in this case let us say u r job abends at 6
u will have the following generations
abcd.gdg.g0000v00
abcd.gdg.g0001v00
abcd.gdg.g0002v00
abcd.gdg.g0003v00
abcd.gdg.g0004v00
if u want to create generation 5 then u have to again start with (+1) ,but if u start the step in 6 u will get (+6) which will not give u correct result
correct me if i am wrong
thanks |
|
Back to top |
|
|
|