SYSOUT archiving exit
The SYSOUT archiving exit, EQQUX005, is called by the job completion checker during processing of SYSOUT data sets for a job. The exit can be called several times for the same job as the JCC progresses through the various SYSOUT data sets.
This exit is commonly used to change the defined SYSOUT disposition, depending on the success or failure of the job. Note that EQQUX005 is a tracker exit, although the success or failure of an operation is ultimately determined by the controller.
The SEQQSAMP member, EQQX5ASM, contains a sample SYSOUT archiving exit. This sample requeues SYSOUT for failing jobs to a separate class from the one used for successful jobs. This is useful if you want to print the JCL of failed jobs for your job recovery operators. SYSOUT for jobs that complete successfully can be written to an output class managed by a system writer.