PCFHeader (MQCFH)

This is the programmable command format (PCF) header, defining the PCF parameters that follow the MQEPH structure. This enables you to follow the PCF message data with other headers.

The PCF header is initially defined with the following values:
Table 1. Initial values of fields in MQCFH
Field name Name of constant Value of constant
Type MQCFT_NONE 0
StrucLength MQCFH_STRUC_LENGTH 36
Version MQCFH_VERSION_3 3
StrucLength None 0
Command MQCMD_NONE 0
MsgSeqNumber None 1
Control MQCFC_LAST 1
CompCode MQCC_OK 0
Reason MQRC_NONE 0
ParameterCount None 0
The application must change the Type from MQCFT_NONE to a valid structure type for the use it is making of the embedded PCF header.