IDIUTIL Delete user exit
The following describes the IDIUTIL Delete user exit.
Purpose
This exit can control the deletion of a fault entry during history file management using the IDIUTIL batch utility with the DELETE control statement (for details, see DELETE control statement). This control is provided by setting the data area field UTL.PERFORM_ACTION to 'Y' if the entry should be deleted, or to 'N' if not. The field UTL.PERFORM_ACTION is set to 'Y' before invoking the exit, except when a fault entry is locked. In this case, when ENV.LOCK_FLAG is not blank, the UTL.PERFORM_ACTION flag is set to 'N'. See UTL - IDIUTIL Batch Utility user exit parameter list for details about the UTL data area.
The fault entries for which the user exit is invoked are those that match the specified DELETE control statement criteria.
When invoked
This exit is invoked once for each fault entry in a history file whenever the IDIUTIL batch utility is executed using the DELETE control statement.
Parameters
How parameters are passed to the exit depends on the exit type, REXX or load module.
Fault Analyzer initializes the parameter lists using current values for the particular fault and processing options in effect before invoking the IDIUTIL Delete user exit.
REXX
- ENV.
Contains defined symbols for all fields in the ENV data area (see ENV - Common exit environment information).
- UTL.
Contains defined symbols for all fields in the UTL data area (see UTL - IDIUTIL Batch Utility user exit parameter list).
The defined variable names are identical to the field names. For example, to access the field VERSION in the ENV data area, use the REXX variable ENV.VERSION.
Load module
- 31-bit ENV address in word 1.
Address of an ENV data area (see ENV - Common exit environment information).
- 31-bit UTL address in word 2.
Address of a UTL data area (see UTL - IDIUTIL Batch Utility user exit parameter list).
Note: The high-order bit is on to indicate that this parameter is the last parameter passed.
Example
//IDIEXEC DD DISP=SHR,DSN=X.Y.Z
and the IDIUTIL batch utility control statement
Exits(DELETE(REXX(ABC)))
in your IDIUTIL batch utility history file management job would
cause the exit to be invoked.