The Automation EngineCe composant commande un système Automation Engine. Il se compose de plusieurs processus serveur. also supports Generation Data Groups (GDG). This type of file management can be used in FileSystem event objects and the scriptEgalement un type d'objet distinct dans l'Automation Engine. element GET_EVENT_INFO.
FileSystem Event
A standard function of this object type is to check file-system values. It is also possible to trigger an event if a GDG generation is closed. Enter an z/OS host in the File System Event tab and select the option Automatically in the timer control of the Event tab in order to use this function.
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.
Extract of an 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:
(CONSOLE)
start=UCXEM25
smfwrite=1
See also:
FileSystem Event
GET_EVENT_INFO