Generation Data Group
GDG
Enhanced Definition
A Generation Data Group (GDG) is a collection of chronologically related non-VSAM datasets on z/OS that share a common base name. Its primary purpose is to maintain multiple versions of a dataset, typically output from recurring batch jobs, allowing for easy access to current and historical data while automating the management of older versions.
Key Characteristics
-
- Chronological Ordering: Datasets within a GDG are ordered by their creation time, identified by a unique generation number and version number (e.g.,
G0001V00). - Fixed Limit: A
LIMITparameter, specified during GDG base definition, dictates the maximum number of generations that z/OS will retain in the catalog. - Automatic Management: When a new generation is created and the
LIMITis reached, z/OS automatically uncatalogues (and optionally scratches) the oldest generation, ensuring controlled data retention. - Relative Naming: Generations can be referenced using relative numbers in JCL
DDstatements:(+1)for the next new generation,(0)for the current/most recent,(-1)for the previous, and so on. - GDG Base Entry: Requires a GDG base entry in the z/OS catalog, which is created using the
IDCAMS DEFINE GDGcommand. This base entry stores theLIMITand other GDG attributes. - Non-VSAM Datasets: GDGs are specifically designed to manage sequential (PS) and partitioned (PO) datasets, not VSAM datasets.
- Chronological Ordering: Datasets within a GDG are ordered by their creation time, identified by a unique generation number and version number (e.g.,
Use Cases
-
- Recurring Batch Job Outputs: Managing daily, weekly, or monthly reports, transaction logs
Related Products
Related Vendors
ASE
3 products
Broadcom
235 products
Tone Software
14 products
IBM
646 products
Trax Softworks
3 products
Related Categories
Automation
222 products
Operating System
154 products
CASE/Code Generation
19 products
Application Development
296 products
Browse and Edit
64 products