View previous topic :: View next topic |
Author |
Message |
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Wed Dec 14, 2005 3:28 pm Post subject: Alter the Max Num of GDG generations |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
Posted: Wed Dec 14, 2005 8:21 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
Phantom Data Mgmt Moderator
![Data Mgmt Moderator Data Mgmt Moderator](images/ranks/Phantom.jpg)
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Wed Dec 14, 2005 11:38 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
ajimachan Beginner
Joined: 25 Jan 2005 Posts: 3 Topics: 1
|
Posted: Fri Sep 01, 2006 10:04 am Post subject: |
|
|
Could you pls let me know, How to find the number of versions that were mentioned while creating the GDG originally. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Fri Sep 01, 2006 10:09 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
Posted: Fri Sep 01, 2006 10:09 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|
|