MQWCR - Cluster workload cluster-record structure

 


The MQWCR structure contains information relating to a cluster to which an instance of the destination queue belongs. There is one MQWCR for each such cluster.

This structure 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.

 

Fields

ClusterName  (MQCHAR48) 
Cluster name.

Name of a cluster to which the instance of the destination queue that owns this MQWCR structure belongs. The destination queue instance is described by an MQWDR structure.

The length of this field is given by MQ_CLUSTER_NAME_LENGTH. This is an input field to the exit.

ClusterRecOffset  (MQLONG) 
Offset of next cluster record.

This is the offset of the next MQWCR structure. If there are no more MQWCR structures, ClusterRecOffset is zero. The offset is measured in bytes from the start of the MQWCR structure.

This is an input field to the exit.

ClusterFlags  (MQLONG) 
Cluster flags.

These are bit flags that indicate various properties of the queue manager identified by this MQWCR structure. The following flags are defined:

MQQMF_REPOSITORY_Q_MGR
Destination is a full repository queue manager.

MQQMF_CLUSSDR_USER_DEFINED
Cluster sender channel was defined manually.

MQQMF_CLUSSDR_AUTO_DEFINED
Cluster sender channel was defined automatically.

MQQMF_AVAILABLE
Destination queue manager is available to receive messages.

Note:
Other flags in the field might be set by the queue manager for internal purposes.

This is an input field to the exit.

 

C declaration

typedef struct tagMQWCR {
  MQCHAR48  ClusterName;       /* Cluster name */
  MQLONG    ClusterRecOffset;  /* Offset of next cluster record */
  MQLONG    ClusterFlags;      /* Cluster flags */
} MQWCR;

 

System/390 assembler declaration

MQWCR                          DSECT
MQWCR_CLUSTERNAME              DS   CL48     Cluster name
MQWCR_CLUSTERRECOFFSET         DS   F        Offset of next cluster
*                                            record
MQWCR_CLUSTERFLAGS             DS   F        Cluster flags
MQWCR_LENGTH                   EQU  *-MQWCR  Length of structure
                               ORG  MQWCR
MQWCR_AREA                     DS   CL(MQWCR_LENGTH)