Incident-record-create exit (EQQUX006)

EQQUX006 is called by the job completion checker to build an incident record when the JCC message table specifies that an incident record should be created for the current SYSOUT record. This exit updates the incident file with the error conditions determined by the JCC incident-logging function.

The sample library SEQQSAMP that was created during installation contains a sample of incident-record-create exits. The sample consists of two members in the sample library:
EQQX6ASM
Sample EQQUX006
EQQX6JOB
Sample batch-job JCL skeleton to be used by the sample EQQX6ASM.
Refer to the sample library members themselves for further information.

This sample creates records in the incident data set like these:

Sample incident record
 86/10/04 * JOBNAMEJ * JOB 5788 * 20.29 * 20.30 * ZOS1 * 0001 OK-RC8
  IEF142I JOBNAMEJ AMS8 - STEP WAS EXECUTED - COND CODE 0008

The default incident-record-create exit normally generates 2 records for each incident found by the JCC. The first record identifies the job and its start and end times. The second record contains the first 72 characters from the SYSOUT record that caused the incident to be created. You can use the incident-record-create exit if you need to produce incident records with more information or with a different mapping. EQQUX006 is a tracker exit, and the success or failure of an operation is ultimately determined by the controller.