The termination exit

The purpose of the termination exit is to allow you to perform final housekeeping duties. It is invoked before a normal or an abnormal termination of the CSD update batch utility program DFHCSDUP.

When invoked
Invoked once, before termination of DFHCSDUP.
Exit-specific parameters
UEPTRMFL
Address of a 1-byte field that indicates the mode of termination. Its possible values are:
X'00'
Normal termination
X'F0'
Abnormal termination.

Your exit program cannot reset the value in this field.

Return codes
UERCNORM (X'00')
Continue processing.
UERCERR
Irrecoverable error. This causes DFHCSDUP to terminate with a return code of ‘8’.
XPI calls
Must not be used.