View previous topic :: View next topic
|
Author |
Message |
Parul Singh
New User
Joined: 03 Dec 2007 Posts: 4 Location: noida
|
|
|
|
Like there are GDG versions of Sequential or VSAM files, there can be GDG versions of PDS also. So my question is what we call to the GDG Generations/versions of PDS? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
VSAM on GDG -- where did you hear this? And where did you hear about PDS as GDS? |
|
Back to top |
|
|
Parul Singh
New User
Joined: 03 Dec 2007 Posts: 4 Location: noida
|
|
|
|
I doesn't mean that there can GDG versions in VSAM form...i just said that there can be GDG version in the form of sequential files for VSAM files. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
/RANT ON
When talking about GDS it is important to use the correct terminology, as both version and generation are both valid in terms of a GDS.
It is a well known fact that only one version of a GDS may exist at any one time, however, multiple generations may exist together.
Please learn and use the correct terminology when posting, as using the wrong term can cause confusion and possibly delay a resolution to your problem
/RANT OFF
Also get your facts right. You CAN NOT have generations of a VSAM file.
What have you tried with this. One tip - you can not address a GDS PDS by relative addressing is you also want to specify a member. This is why absolutely noone in their right mind would even consider this possibility. |
|
Back to top |
|
|
Parul Singh
New User
Joined: 03 Dec 2007 Posts: 4 Location: noida
|
|
Back to top |
|
|
Parul Singh
New User
Joined: 03 Dec 2007 Posts: 4 Location: noida
|
|
|
|
Say there is a VSAM file, and weekely its backup is created in the form GDG sequential version. (GDG base has already been created initially, weekly only GDG version is created as a backup of this VSAM file in the form of sequential file with RECFM=VB). Thus can we say that a Generation can have mulitple versions? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please read my previous post. Then read it again, and again and again until you understand the difference between a generation and a version. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Thus can we say that a Generation can have mulitple versions? |
This tells me you do not understand generation data groups. If you understood them, you would know that only one version of a generation can be cataloged at any given time. It may be GxxxxV00, it may be GxxxxV17 -- it doesn't matter; only one is cataloged at a time.
And weekly backups usually back up to a (+1) generation since creating a new version is more difficult. It does not matter, by the way, what the source of the data in the GDG generation is -- VSAM, flat file, tape file, BDAM data set -- the data in a GDG generation is sequential. It cannot be anything but sequential. And since it is not related to the source file at that point, you cannot call it VSAM sequential or any such term -- it is a physical sequential data set. It is read and written by QSAM and QSAM only works on sequential files. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Parul -- May be I'm being picky but what's the origin of this question? |
|
Back to top |
|
|
|