MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
Phantom Data Mgmt Moderator Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Posted: Wed Nov 30, 2005 5:25 am Post subject: GDG - Generation Data Groups FAQs
Generation Data Groups - What is a GDG
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA5B500/APPENDIX1.3?DT=19940305134027
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2D410/3.9?DT=20020122112221
Define a GDG
http://publibz.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/DGT2I230/15.0?DT=20040628101835
Alter the Attributes of a GDG
http://publibz.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/DGT2I230/5.3.4?DT=20040628101835
Listcat - GDG - List information about a GDG
http://publibz.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/DGT2I230/B.1.6?DT=20040628101835
Delete GDG
1. Delete all version of a GDG Keeping the Base
Code:
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=userid.mygdg,DISP=(SHR,DELETE,KEEP),
2. Delete GDG Base + All its versions
Code:
//R010 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE my.gdg.base FORCE
/*
//SYSDUMP DD SYSOUT=*
//*
(Or)
//SYSIN DD *
DELETE my.gdg.base GDG PURGE
/*
3. Delete GDG version - with no corresponding base
http://mvsforums.com/helpboards/viewtopic.php?t=3708&highlight=gdg
Merge all GDG versions into a PS file
Code:
//R010 EXEC PGM=SORT
//SORTIN DD DSN=my.gdg.base,
// DISP=SHR
//SORTOUT DD DSN=my.new.ps.dataset,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(1,1),RLSE)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
/*
Note: All GDG versions will be concatenated one by one if you try to allocate the base name alone to any DD Name.
Changing Version number Vnn for a GDG
http://mvsforums.com/helpboards/viewtopic.php?t=5300&highlight=gdg
Concatenate Versions in reverse Order
http://www.mvsforums.com/helpboards/viewtopic.php?t=2109&highlight=gdg
Renaming GDGs
http://mvsforums.com/helpboards/viewtopic.php?t=4902&highlight=gdg
Browsing GDGs
http://mvsforums.com/helpboards/viewtopic.php?t=4931&highlight=gdg
Thanks,
Phantom
Back to top
Phantom Data Mgmt Moderator Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Back to top
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