Define Generation Data Group screen (G)
Specify the letter G in the OPTION field and a valid dataset name in the Dataset name field of the Dataset Utility screen to display the Define New Generation Data Group screen, shown in the following figure. This screen defines a new GDG base data set.
Define Generation Data Group screen
Field Descriptions
GDG base dataset name
Dataset name entered on the Dataset Utility screen.
GDG dataset Limit
(Required) Specify a number in the range 1 - 999 (If GDGEXTENDED keyword is enabled and z/OS version is at least 2.2, otherwise max limit is 255) for the maximum number of retained generations for the data set.
The default appears as 0 upon entry to this screen unless you have a specified a Model DSN on the 3.2 Dataset Utility screen. After the "limit" number of data sets has been cataloged, the next data set cataloged will cause uncataloging (and scratching) of the oldest (or all) data sets in the group based on the settings of the Uncatalog options and Scratch options.
Specify Optional Parameters:
Owner ID
Specify an owner identifier. The default is your TSO user ID.
Expiration date
Specify a date value in the format:
YYYY/MM/DD
0 - 1830 (Number of days).
This value specifies the date when the data set may be deleted. If this field is left blank, the data set can be deleted immediately.
Uncatalog options
Specify one of the following:
1 - Uncatalog oldest when limit reached - NOEMPTY
2 - Uncatalog all when limit is reached - EMPTY.
Scratch options
Specify one of the following:
1 - Scratch data set when uncataloged - SCRATCH
2 - Do not scratch data set - NOSCRATCH.
Press Enter to allocate the GDG base data set, or use the END command to cancel the allocation. When allocation is complete, File-AID displays the message: GDG BASE ALLOCATED in the upper-right corner of the Dataset Utility screen. If an error occurs (such as duplicate dataset name), File-AID displays the appropriate error message. Use the HELP command (PF1) to obtain information on the error.
Related topics