Command event message format

Command event message consists of MQCFH structure and PCF parameters following it.

Here are selected MQCFH values:
Type = MQCFT_EVENT;
Command = MQCMD_COMMAND_EVENT;
MsgSeqNumber = 1;
Control = MQCFC_LAST;
ParameterCount = 2;
CompCode = MQCC_WARNING;
Reason = MQRC_COMMAND_PCF;
Note: ParameterCount value is two because there are always two parameters of MQCFGR type (group). Each group consists of appropriate parameters. The event data consists of two groups, CommandContext and CommandData. CommandContext contains:

    EventUserID

    EventOrigin

    EventQMgr

    EventAccountingToken

    EventIdentityData

    EventApplType

    EventApplName

    EventApplOrigin

    Command

CommandData contains PCF elements that comprised the PCF command.