MQEPH - Embedded PCF header

The MQEPH structure describes the additional data that is present in a message when that message is a programmable command format (PCF) message. The additional data consists of the MQEPH structure followed by an array of PCF parameter structures. To include the MQEPH structure in a message, the Format parameter in the message descriptor is set to MQFMT_EMBEDDED.

StrucId
Description: Structure identifier.
Datatype: MQCHAR4.
Value:
MQEPH_STRUC_ID
Identifier for distribution header structure.
Version
Description: Structure version number.
Datatype: MQLONG.
Value:
MQEPH_VERSION_1
Version number for embedded PCF header structure.
StrucLength
Description: Structure length. This is the length in bytes of the MQEPH structure and is set to the amount of data preceding the next header structure.
Datatype: MQLONG.
Encoding
Description: Numeric encoding. This specifies the numeric encoding of the data that follows the last PCF parameter structure.
Datatype: MQLONG.
CodedCharSetId
Description: Coded character set identifier. This specifies the coded character set identifier of the data that follows the last PCF parameter structure.
Datatype: MQLONG.
Format
Description: Format. This specifies the format name of the data that follows the last PCF parameter structure.
Datatype: MQCHAR8.
Flags
Description: Flags. This is a reserved field.
Datatype: MQLONG.
Value:
MQEPH_NONE
No flags have been specified.
MQEPH_CCSID_EMBEDDED
The character set of the parameters containing character data is specified individually within the CodedCharSetId field in each structure. The character set of the StrucId and Format fields is defined by the CodedCharSetId field in the header structure that precedes the MQEPH structure, or by the CodedCharSetId field in the MQMD if the MQEPH is at the start of the message.
PCFHeader
Description: Command format header.
Datatype: MQCFH.