data types, detailed description, structures, Type field, StrucLength field, Vfield, Command field, MsgSeqNumber field, Control field, CompCode field, Reason field, ParameterCount field" /> Event message MQCFH (PCF header)

 

Event message MQCFH (PCF header)

For an event, the MQCFH structure contains the following values:

Type

Description: Structure type that identifies the content of the message.
Datatype: MQLONG.
Value:

MQCFH_EVENT

Message is reporting an event.

StrucLength

Description: Structure length.
Datatype: MQLONG.
Value:

MQCFH_STRUC_LENGTH

Length in bytes of MQCFH structure.

Version

Description: Structure version number.
Datatype: MQLONG.
Values:

MQCFH_VERSION_1

Version-1 in all events except configuration and command events.

MQCFH_VERSION_2

Version-2 for configuration events.

MQCFH_VERSION_3

Version-3 for command events.

Command

Description: Command identifier. This identifies the event category.
Datatype: MQLONG.
Values:

MQCMD_Q_MGR_EVENT

Queue manager event.

MQCMD_PERFM_EVENT

Performance event.

MQCMD_CHANNEL_EVENT

Channel event.

MQCMD_CONFIG_EVENT

Configuration event.

MQCMD_COMMAND_EVENT

Command event.

MQCMD_LOGGER_EVENT

Logger event.

MsgSeqNumber

Description: Message sequence number. This is the sequence number of the message within a group of related messages.
Datatype: MQLONG.
Values:

1

For change object configuration events with attribute values before the changes, and for all other types of events.

2

For change object configuration events with the attribute values after the changes

Control

Description: Control options.
Datatype: MQLONG.
Values:

MQCFC_LAST

For change object configuration events with attribute values after the changes, and for all other types of events.

MQCFC_NOT_LAST

For Change Object configurations events only, with the attribute values from before the changes.

CompCode

Description: Completion code.
Datatype: MQLONG.
Values:

MQCC_OK

Event reporting OK condition.

MQCC_WARNING

Event reporting warning condition. All events have this completion code, unless otherwise specified.

Reason

Description: Reason code qualifying completion code.
Datatype: MQLONG.
Values: MQRC_* Dependent on the event being reported.
Note:
Events with the same reason code are further identified by the ReasonQualifier parameter in the event data.

ParameterCount

Description: Count of parameter structures. This is the number of parameter structures that follow the MQCFH structure. A group structure (MQCFGR), and its included parameter structures, are counted as one structure only.
Datatype: MQLONG.
Values: 0 or greater.