MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GDG Version Creation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
tvssv
Beginner


Joined: 11 Mar 2009
Posts: 58
Topics: 25

PostPosted: Sat Dec 10, 2022 10:27 am    Post subject: GDG Version Creation Reply with quote

Hi,

We have a requirement as below.

We have 2 GDG bases in MVS. For eg.
Code:

ABC.EFG.SA..DATA
ABC.EFG.SA.AUDIT


We are getting these files from external system with same names as below.

Code:


ABC.EFG.SA..DATA(+1)
ABC.EFG.SA.AUDIT(+1)



I have a doubt here, in such case will those files will be stored as GDG versions as GDG base is present? But seniors are saying versions will be created as the incoming files are with (+1).

My knowledge is that we need to write step in JCL to create GDG version.

Please advise. Is there any best method to achieve this.

Thanks.
_________________
Thanks
TVSSV
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Mon Dec 12, 2022 5:41 pm    Post subject: Re: GDG Version Creation Reply with quote

tvssv wrote:

I have a doubt here, in such case will those files will be stored as GDG versions as GDG base is present? But seniors are saying versions will be created as the incoming files are with (+1).


tvssv,

Versions? +1 will create a new GENERATION of the gdg and not version. If you need to create a version then you need to get past the limit.

Read about Relative generation numbers here

https://www.ibm.com/docs/en/zos/2.4.0?topic=groups-relative-generation-number

Absolute generation and version numbers here

https://www.ibm.com/docs/en/zos/2.4.0?topic=groups-absolute-generation-version-numbers

tvssv wrote:

My knowledge is that we need to write step in JCL to create GDG version.


Not really. You can go ISPF option 3.2 and allocate +1 generation of the GDG
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group