Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
what does the qualifier V010 100 stands for in G00V010 100

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: what does the qualifier V010 100 stands for in G00V010 100
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    Post subject: Re: gdg qualifier
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    Post subject: Thanks but still unsatisfied
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    Post subject: Re: gdg qualifier
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    Post subject: Re: gdg qualifier
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Using EZACFSM1 prog with instream dat... rabiswas JCL & VSAM 7 Sun Jun 08, 2014 5:12 pm
No new posts locator qualifier(->) use in PL1 Parth Sharma PL/I & Assembler 2 Sun Sep 29, 2013 1:11 am
No new posts How DB2 find the qualifier of the tab... Harsha1525 DB2 6 Tue Feb 05, 2013 10:08 am
No new posts Can we use SYMBOLIC parameter as last... Adhiraj_Singh JCL & VSAM 9 Mon Sep 17, 2012 4:25 pm
No new posts Rename a set of PS using its high qua... Michael Jakob TSO/ISPF 6 Mon Jan 09, 2012 7:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us