Operation-status-change exit
The operation-status-change exit is called whenever an operation in the current plan changes status. This exit is often used as an interface to a problem management system, such as Information Management.
The SEQQSAMP member, EQQX7ASM, contains a sample operation-status-change exit (EQQUX007). This exit creates and submits a batch job whenever the status of an operation changes to ended-in-error. The job submitted by the exit, represented by SEQQSAMP member EQQX7JOB contains a CLIST that performs specific tailoring on the data passed to it by EQQUX007. The CLIST generates another job that could be used to create a problem record.
If you choose to implement an interface to your problem
management system using EQQUX007, remember that every change
of status to E
invokes the exit. Consider filtering
out those operations that were set to error by dialog users because
they might not represent real errors.