View previous topic :: View next topic |
Author |
Message |
serobinson Beginner
Joined: 22 Sep 2006 Posts: 11 Topics: 5
|
Posted: Fri Nov 10, 2006 9:15 pm Post subject: Convert 40 data sets, but keep GDG refrences in sync |
|
|
Our shop wants to convert 40 or so data sets. That means inccrease length and reformatt data. We intend to do this by running a job after CICS but before nightly processing. What is the best way to convert the data sets without causing GDG refrences problems? Considering the range of generations refrenced in nightly batch processing, the bases have low GDG limits, and the oldest generation is scratched.
We intend to use File Mananger for the conversion so that isn't an issue for this post. |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Sat Nov 11, 2006 1:46 pm Post subject: |
|
|
Create new datasets with the same generation, but a different version, i.e.:
for generation HLQ.SOME.THING.G0001V00
create the new re-formatted dataset HLQ.SOME.THING.G0001V01 |
|
Back to top |
|
|
serobinson Beginner
Joined: 22 Sep 2006 Posts: 11 Topics: 5
|
Posted: Sat Nov 11, 2006 8:31 pm Post subject: |
|
|
Thanks Superk. That is exactly what I'm looking for. Do I need to use an absolute generation number or is there a way to use a relative one? If you know of a good link, you can just post that. I have not been able to find one that answers all of my questions about GDG versions.
Therefore, I'm making some assumptions about versions. Correct me if I'm wrong.
1) GDGs with relative numbers access the newest version.
2) Creating a new version will not scratch other generations when the base is defined with the scratch attribute. |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Sun Nov 12, 2006 6:09 am Post subject: |
|
|
relative nunbers relate to a unique file. 0 is latest, -1 is 1 before the latest, etc...
A new version will scratch the oldest, when the newest causes the max number of versions to exceed the limit set during the gdg creation. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
serobinson Beginner
Joined: 22 Sep 2006 Posts: 11 Topics: 5
|
Posted: Sun Nov 12, 2006 2:15 pm Post subject: |
|
|
dbz I'm not sure that you understand what superk and I are talking about. You are talking about a generation(G0001). We are talking about a version(V01) of a generation. Also, the newest generation will only cause the oldest one to scratch if the base is defined with the scratch attribute. You can define the base with other attributes, for ex: NOSCRATCH. |
|
Back to top |
|
|
|
|