MQ_CLUSTER_WORKLOAD_EXIT - Cluster workload exit

 


This call definition describes the parameters that are passed to the cluster workload exit called by the queue manager.

Note:
No entry point called  MQ_CLUSTER_WORKLOAD_EXIT  is actually provided by the queue manager. This is because the name of the cluster workload exit is defined by the ClusterWorkloadExit queue-manager attribute.

This exit is supported in the following environments: AIX, Compaq Tru64 UNIX, Compaq OpenVMS Alpha, Compaq NonStop Kernel, HP-UX, Linux, OS/2, z/OS, OS/400, Solaris, and Windows.

 

Syntax


 MQ_CLUSTER_WORKLOAD_EXIT  (ExitParms)
 

 

Parameters

The  MQ_CLUSTER_WORKLOAD_EXIT  call has the following parameters.

ExitParms  (MQWXP) - input/output 
Exit parameter block.

This structure contains information relating to the invocation of the exit. The exit sets information in this structure to indicate how the workload should be managed.

 

Usage notes

  1. The function performed by the cluster workload exit is defined by the provider of the exit. The exit, however, must conform to the rules defined in the associated control block MQWXP.

  2. No entry point called  MQ_CLUSTER_WORKLOAD_EXIT  is actually provided by the queue manager. However, a typedef is provided for the name  MQ_CLUSTER_WORKLOAD_EXIT  in the C programming language, and this can be used to declare the user-written exit, to ensure that the parameters are correct.

 

C invocation

exitname (&ExitParms);

Declare the parameters as follows:

MQWXP  ExitParms;  /* Exit parameter block */

 

System/390 assembler invocation

         CALL EXITNAME,(EXITPARMS)

Declare the parameters as follows:

EXITPARMS           CMQWXPA              Exit parameter block