GDG Support

The Automation Engine also supports Generation Data Groups (GDG). This type of file management can be used in FILE event objects and the script element GET_EVENT_INFO.

FILE Event

A standard function of this object type is to check file system values. Additionally, you can trigger an event if a GDG generation is closed. In the File Event page, File Event section, enter a z/OS host, and in the Timer Parameters section select the option Automatically to use this function.

Note: The closing of a new generation is waited for if GDG(+1) has been specified, which is normally the case. If you specify GDG with +/-0 (+0, +00, +000, -0, -00, -000), the closing of the current generation is waited for.

Example:

PAYROLL               Name of the GDG
DSNAME=PAYROLL(0)     This week's generation data set
DSNAME=PAYROLL(-1)    Last week's generation data set
DSNAME=PAYROLL(-2)    Generation data set of two weeks ago

Script Element GET_EVENT_INFO

This script function retrieves the name of a generation which can then be processed.

Example

:SET &FILENAME# = GET_EVENT_INFO (FILENAME)
:
SET &HND# = PREP_PROCESS_FILE ("MVSHOST", &FILENAME#)

Configuration

Some specifications are required in order to use GDG in your AE system:

See also: