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 

Alter the Max Num of GDG generations

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
tattva
Beginner


Joined: 02 Feb 2005
Posts: 97
Topics: 36

PostPosted: Wed Dec 14, 2005 3:28 pm    Post subject: Alter the Max Num of GDG generations Reply with quote

Hi all,

I have a GDGBASE tattva.d.gdgbase. The MAX num of version that it can have is 3. Now i would like to change the num from 3 to 255. I need to do this in batch mode. Can any one help me in this please?

Thanks,
Tattva
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: Wed Dec 14, 2005 8:21 pm    Post subject: Reply with quote

tattva,

Try this

Code:

//STEP010  EXEC PGM=IDCAMS                     
//SYSPRINT DD  SYSOUT=*                       
//SYSIN    DD  *                               
  ALTER 'your gdg base' LIMIT(n)             
/*                                             

n = no: of generations you want to keep and n must be <= 255


Hope this helps...

Cheers

Kolusu
_________________
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
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Dec 14, 2005 11:38 pm    Post subject: Reply with quote

Tattva,

Check the GDG - FAQ page for more queries on GDGs!
http://www.mvsforums.com/helpboards/viewtopic.php?t=5333

I just included your query to the FAQ list. Let us know if you have any other questions on GDG, we will see if we can add them to our FAQs.

Thanks,
Phantom
Back to top
View user's profile Send private message
ajimachan
Beginner


Joined: 25 Jan 2005
Posts: 3
Topics: 1

PostPosted: Fri Sep 01, 2006 10:04 am    Post subject: Reply with quote

Could you pls let me know, How to find the number of versions that were mentioned while creating the GDG originally.
Back to top
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Fri Sep 01, 2006 10:09 am    Post subject: Reply with quote

If you have Fileaid, it's pretty simple, go to option 3.2 and enter your dataset as shown below, the next screen would display the properties.

Code:

F090 AID --------------------  Dataset Utility  -------------------------------
OPTION ===>                                                                   
                                                                               
  A - Allocate SEQ/PDS dataset           D - Delete dataset or HFS file       
  B - Allocate BDAM dataset              R - Rename dataset or HFS file       
  C - Catalog dataset                    U - Uncatalog dataset                 
  S - Dataset information (short)        F - Free unused space                 
  BLANK - Display dataset information    G - Define generation data group     
                                                                               
Specify Dataset or HFS Path Information:                                       
  Dataset or path    ===> 'XXXXXXX.XXX.XXXXX.XXXXX.DATA'                       
  Volume serial      ===>          (If not cataloged)                         
                                                                               
Specify Model Dataset Information:                                             
  Dataset name       ===>                                                     
                                                                               
Specify Catalog to use if other than Default System Catalog:                   
  Catalog name       ===>                                                     
  Catalog password   ===>          (If catalog is password protected)         
----------------------------------------------------------------------------- 
     For dataset allocations only, the optional model dataset is used to       
     prefill the allocation information on the allocation panel.  This         
     dataset is not mandatory for dataset allocations.                         
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .



Code:

 F090 AID -----------  Display Generation Data Group Information  --------------
 COMMAND ===>                                                                   
                                                                               
 GDG base dataset name: XXXX.XXXXX.XXXXX.DATA                                                                               
 GDG dataset limit:     15        (Maximum number of generations, 1-255)       
                                                                               
 Active generations:    15        (Generations that are currently allocated)   
                                                                               
 Owner:                 K0495TK                                                 
                                                                               
 Expiration date:                                                               
                                                                               
 Uncatalog options:     NOEMPTY   (EMPTY     = All generations are uncataloged 
                                   NOEMPTY   = Oldest generation is uncataloged)
 Scratch  options:      SCRATCH   (SCRATCH   = Scratch when uncataloged         
                                   NOSCRATCH = Uncatalog only)                 
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .


________
medical cannabis


Last edited by coolman on Sat Feb 05, 2011 1:52 am; edited 2 times in total
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: Fri Sep 01, 2006 10:09 am    Post subject: Reply with quote

ajimachan,

LISTCAT command gives you the limit of the gdg. try this job

Code:

//STEP0100 EXEC PGM=IDCAMS                   
//SYSPRINT DD SYSOUT=*                       
//SYSIN    DD *                             
   LISTCAT ENT('your gdg base') ALL       
/*                           


Hope this helps...

Cheers

Kolusu
_________________
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 -> Utilities 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