View previous topic :: View next topic
|
Author |
Message |
ashok_uddaraju
New User
Joined: 21 Feb 2007 Posts: 72 Location: US
|
|
|
|
I have a question on GDG's.
Suppose i have 4 steps in my JCL .
Step1 --> Creates a generation of a GDG
Step2 --> Creates another generation of the same GDG
Step3 --> references generation created in step1
Step4 --> references generation created in step2
How would these generation be referenced? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Step 1 (+1)
Step 2 (+2)
Step 3 (+1)
Step 4 (+2)
The rule is each new generation bumps the number by one; all steps of the same job use the same reference because the new generations are not cataloged until the end of the job. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Step1 --> Creates a generation of a GDG --> this would be +1. Any other references to this dataset within the same job will continue to be +1.
Step2 --> Creates another generation of the same GDG --> this would be +2. Any other references to this dataset within the same job will continue to be +2. |
|
Back to top |
|
|
|