View previous topic :: View next topic
|
Author |
Message |
raj12vel
New User
Joined: 20 Dec 2008 Posts: 43 Location: New Jersey
|
|
|
|
Hi all,
Can any one please tell me how to copy all the versions of one GDG to another GDG? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
One IEBGENER per version works pretty good; just run them one copy job at a time. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
raj, you're only allowed to have one version (V00-V99) per generation (G0001 - G9999). What do you mean by "all the versions"? |
|
Back to top |
|
|
raj12vel
New User
Joined: 20 Dec 2008 Posts: 43 Location: New Jersey
|
|
|
|
Hi,
For example, if i have 20 versions (V01-V20) for one GDG and i want to copy all the 20 versions to an another GDG file which also have 20 empty genrations |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
19 of the versions will not be GDG controlled -- they will simply be cataloged files you can copy with IEBGENER. The 20th version will be under GDG control but can still be copied via IEBGENER; you can run one job with 20 steps or 20 jobs to do the copy. If you use one job, the first generation to be output will be (+1), the second will be (+2), and so forth, in your JCL. |
|
Back to top |
|
|
raj12vel
New User
Joined: 20 Dec 2008 Posts: 43 Location: New Jersey
|
|
|
|
Thanks alot... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Well, I have never seen in 30+ years of MFT / MVS / z/OS anything other that one Vnn of a GDS.
Or is this just another case of people thinking that they know what they are talking about but using the incorrect terminology - because a version and a generation are TOTALLY different elements of a GDS. |
|
Back to top |
|
|
raj12vel
New User
Joined: 20 Dec 2008 Posts: 43 Location: New Jersey
|
|
|
|
Hi,
I understood. I have misused the terminology. I could have said generations instead of versions.
Thank you. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
raj12vel wrote: |
Hi,
I understood. I have misused the terminology. I could have said generations instead of versions.
Thank you. |
I SHOULD have said generations instead of versions.
It is very important that the correct terminology is always used, especially in this case where both generation and version are correct terms in reference to a GDS.
Although you know what you mean we nessecarally may not, unless you use the correct terminology. I have seen threads on this board that took about 15-20 replies before the exact response was elicited.
This is not taking a point against you personally - but if everyone who reads this and takes notice then uses the correct terminology it will make getting correct answers so much easier. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
'am lilttle on wrong trcak here I believe... If this
Quote: |
have 20 versions (V01-V20) for one GDG |
is true, then I hope he has not
Quote: |
misused the terminology |
..Did I miss something..please assist. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Anuj,
Quote: |
..Did I miss something.. |
I believe not - you are in sync.
Once again the use of version and the use of generation have been treated as being interchangable. I believe there is now understanding that they are not and it it critical to make sure we all use the same (correct) terminology. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Anuj,
just to clarify. Why not define a GDG base and try to create more than one version of the same generation. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi Expat,
I understoof your point I think - other GDGs (GDS) will simply be cataloged files actually & only most latest will be under GDG control, so this statement
Quote: |
have 20 versions (V01-V20) for one GDG |
is actually meaningless or described in a wrong way. Did I get some marks..Sir.. .. ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Anuj D. wrote: |
Did I get some marks..Sir. |
No, you did not test it.
When a new VERSION of an existing generation is created, the older version is deleted rather than kept. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
I did test it though before posting, but put my self in front in a wrong way..
When I locate G0001V10 first & then G0001V09, only G0001V09 was visible.
Code: |
PU2317A.GDG.FOR.EXPAT
PU2317A.GDG.FOR.EXPAT.G0001V09 |
But what I quoted should be true for Non-sms ? Please assist.
PS. Ah just another bad day for me.. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
I believe Robert can also be of some help here..any how he also put the same stuff as mine.
Robert Sample wrote: |
19 of the versions will not be GDG controlled -- they will simply be cataloged files you can copy with IEBGENER. The 20th version will be under GDG control but can still be copied via IEBGENER; |
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
I believe Robert can also be of some help here..any how he also put the same stuff as mine. |
Maybe he cheated and copied your answers |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Umm.. this type of topics never seems to have an end..because always (usually) there is one like me is around to make it lengthy..aarghh.. ! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes, I had noticed |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Could not stop to share the laugh.. ,
have a good one, later
-Ad |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Yeah, I'm psychic and copied Anuj's answer ... all the way around the world, even. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Quote: |
I'm psychic and copied . . . all the way around the world, even. |
Is there an extra charge for this or is it automagically covered |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Let me check my wallet ... hmmm .... yep, extra charge is needed! (Hey, I'm going to Paris in February and gotta pay for everything somehow!) |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Robert Sample wrote: |
..all the way around the world, even. |
Perfect eye-sight 6 by 6.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Robert Sample wrote: |
Let me check my wallet ... hmmm .... yep, extra charge is needed! (Hey, I'm going to Paris in February and gotta pay for everything somehow!) |
Oh boy, one of the most expensive european cities and you only get 0.7 euro per USD. I would put in a lot of overtime if I were you.
Or hope that Anuj finally settles his account |
|
Back to top |
|
|
|