View previous topic :: View next topic
|
Author |
Message |
venktv
New User
Joined: 29 Mar 2006 Posts: 59 Location: Montreal
|
|
|
|
Hi All,
Good morning...
I have a question on GDG datasets..if you know the aswer, pls respond
Job is having three steps:
Step1: Creates the GDG version 1..i.e. (+1)
Step2: uses the version +1 created at step1 and creates new version +2
Step3: Uses the version +2.
Now the question is, if my job abends at the step2, are versions updated as they are updated when the job ends successfully??, like ... the recent version is numbered as 0 at the successfull end of the job.
Thanks and regards
Venkat |
|
Back to top |
|
|
aishwarya_singh
New User
Joined: 06 Apr 2005 Posts: 21
|
|
|
|
Hi venktv,
Can you be more clear? What is your exact requirement? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Quote: |
Now the question is, if my job abends at the step2, are versions updated as they are updated when the job ends successfully??, |
Yes, if your job abends in step2 then your first version(+1) will still be catalogued and the availability of version(+2) depends on why the job abended in step 2.
If you restart the step from step2 then refer to the version created in step 1 as version(0) .
Quote: |
updated when the job ends successfully??, |
Did a Search and got this
Quote: |
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 |
|
|
hemanth.nandas
Active User
Joined: 18 Aug 2007 Posts: 120 Location: India
|
|
|
|
Hi Venkat,
Quote: |
I have a question on GDG datasets..if you know the aswer, pls respond
Job is having three steps:
Step1: Creates the GDG version 1..i.e. (+1)
Step2: uses the version +1 created at step1 and creates new version +2
Step3: Uses the version +2.
Now the question is, if my job abends at the step2, are versions updated as they are updated when the job ends successfully??, like ... the recent version is numbered as 0 at the successfull end of the job. |
GDG generation and Version will be updated as soon as JOB Completes. ROLLING IN(Keeping New Version) of GDG depends on when Job was ABEND. As your question, +1 version will be updated(ROLLED IN), and If +2 version is created and used, then then this also will be updated(ROLLED IN).
When you are resubmitting Job next time Refer (+1) version as (-1) and If you wanna refer (+2) version then refer as (+0). If you don't wanna refer +2 version then delete it and again refer (+1) version as (+0).
And RESTART your Job from STEP2.
But I am clear picture of your question
Quote: |
if my job abends at the step2, are versions updated as they are updated when the job ends successfully??, like ... the recent version is numbered as 0 at the successfull end of the job |
Are you looking for somethig different, Then post it. |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Hi,
If ur job abends in STEP2, Step1 version becomes current version (i.e. 0) for future reference if u have not coded proper DISP in STEP2 to catalog dataset in case of abend.
If u have coded proper DISP in STEP2 to catalog dataset even in case of abend, STEP2 Version becomes current version (0) and STEP1 version becomes 1st previous version (-1).
KSK |
|
Back to top |
|
|
venktv
New User
Joined: 29 Mar 2006 Posts: 59 Location: Montreal
|
|
|
|
Friends,
Just wanted to know whether versions are updated or not, if the job abends ...
Thanks for the responses..
Venkat |
|
Back to top |
|
|
aishwarya_singh
New User
Joined: 06 Apr 2005 Posts: 21
|
|
|
|
Yes versions will be updated... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
Yes, if your job abends in step2 then your first version(+1) will still be catalogued and the availability of version(+2) depends on why the job abended in step 2. |
NO, it does not, it depends on the DISP parameters coded in the JCL. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Quote: |
NO, it does not, it depends on the DISP parameters coded in the JCL. |
Yes, I agree it also depends on the DISP parameters coded in the JCL. Missed mentioning in my earlier post. |
|
Back to top |
|
|
|