IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

what does the qualifier V010 100 stands for in G00V010 100


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saurabhu

New User


Joined: 20 Sep 2005
Posts: 11
Location: Chennai

PostPosted: Wed Sep 28, 2005 8:19 pm
Reply with quote

Hi,

In the GDG
SAMPLE.GDG.OUTPUT.G00V010 100

what does the qualifier V010 100 stands for in G00V010 100.
I think it is version, but what exactly it iss?
what is its importance , where is it used?

Thanks in anticipation
Regards
Saurabh
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Wed Sep 28, 2005 9:31 pm
Reply with quote

saurabhu wrote:

I think it is version, but what exactly it iss?
what is its importance , where is it used?


SAMPLE.GDG.OUTPUT.G0001V10

G0001 is the actual generation number.
V10 is the version number.

The version number can be used by the programmer to replace an existing GDG while keeping its original position in the generation data group. For example, let's say there are three generations of the GDG:

SAMPLE.GDG.OUTPUT.G0001V00
SAMPLE.GDG.OUTPUT.G0002V00
SAMPLE.GDG.OUTPUT.G0003V00

now, the data in the oldest generation (SAMPLE.GDG.OUTPUT.G0001V00) is determined to be wrong, so the programmer decides to fix the data and replace the original generation. So, he creates a new job to write the output dataset as SAMPLE.GDG.OUTPUT.G0001V01. This new version automatically replaces SAMPLE.GDG.OUTPUT.G0001V00, so now the list looks like this:

SAMPLE.GDG.OUTPUT.G0001V01
SAMPLE.GDG.OUTPUT.G0002V00
SAMPLE.GDG.OUTPUT.G0003V00

To be realistic, it's hard to come up with a really good legitimate business reason to ever want to update the version number.
Back to top
View user's profile Send private message
saurabhu

New User


Joined: 20 Sep 2005
Posts: 11
Location: Chennai

PostPosted: Fri Sep 30, 2005 8:41 pm
Reply with quote

Hi,
Thanks a lot for ur explaination it is really nice of u to share your knowledge on GDG.
This really helped me know about versions and there legitimacy .
But could you help me with some practical jcl listing here u have changed the version for data correction/ recreeation


Thanks

Saurabh
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Fri Sep 30, 2005 9:08 pm
Reply with quote

OK. Same scenario:

Code:

//STEPXXXX EXEC PGM=FIXPGM
//SYSUT1   DD DISP=SHR,DSN=SAMPLE.GDG.OUTPUT.G0001V00
//SYSUT2   DD DSN=SAMPLE.GDG.OUTPUT.G0001V01,DISP=(,CATLG,DELETE),
//         UNIT=unit,SPACE=(unt,(pri,sec),RLSE),
//         DCB=(MODELDSCB)
//SYSPRINT DD SYSOUT=*
//....
Back to top
View user's profile Send private message
saurabhu

New User


Joined: 20 Sep 2005
Posts: 11
Location: Chennai

PostPosted: Mon Oct 03, 2005 7:51 pm
Reply with quote

Hi,
thanks a lot for explanation with an example. It really was helpful

Thanks
saurabh
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Using EZACFSM1 prog with instream dat... JCL & VSAM 7
No new posts locator qualifier(->) use in PL1 PL/I & Assembler 2
No new posts How DB2 find the qualifier of the tab... DB2 6
Search our Forums:

Back to Top