Incident-record-create exit
EQQUX006 is called by the job completion checker to build an incident record when a JCC message table specifies that an incident record should be created. The EQQUX006 sample supplied with HCL Workload Automation for Z produces incident records in one format. But, you can create your own format by replacing the sample exit with your own version.
The SEQQSAMP member, EQQX6ASM, contains a sample incident-record-create exit. This exit is called by the JCC incident file writer to create one or more records that can be written to the incident data set, if required. Selected error codes can be processed and passed as symbolic parameters to a submitted JCL stream so that you can generate records into a problem database or notify a TSO user ID of a particular failure.
The SEQQSAMP member, EQQX6JOB, contains the JCL for the job submitted by EQQX6ASM. EQQUX006 is a tracker exit, and the success or failure of an operation is ultimately determined by the controller.