Home

 

WebSphere MQ for z/OS

 

Cluster workload exits are invoked as if by a z/OS LINK in:

Put the link-edited modules in the data set specified by the CSQXLIB DD statement of the queue manager address space procedure. The names of the load modules are specified as the workload exit names in the queue-manager definition.

When writing workload exits for WebSphere MQ for z/OS, the following rules apply:

Note that there are no absolute restrictions on what we can do in an exit. However, most SVCs involve waits, so avoid them, except for the following:

Do not use ESTAEs and ESPIEs because their error handling might interfere with the error handling performed by WebSphere MQ. This means that WebSphere MQ might not be able to recover from an error, or that your exit program might not receive all the error information.

The system parameter EXITLIM, which is described in the WebSphere MQ for z/OS System Setup Guide, limits the amount of time an exit may run for. The default value for EXITLIM is 30 seconds. If you see the return code MQRC_CLUSTER_EXIT_ERROR (2266 X'8DA') your exit may be looping. If you think the exit needs more than 30 seconds to complete, increase the value of EXITLIM.

 

Parent topic:

Writing and compiling cluster workload exit programs


qc10970_


 

Home