Overview for MQEPH

Availability: All WebSphere® MQ platforms.

Purpose: The MQEPH structure describes the additional data that is present in a message when that message is a programmable command format (PCF) message. The PCFHeader field defines the PCF parameters that follow this structure and this allows you to follow the PCF message data with other headers.

Format name: MQFMT_EMBEDDED_PCF

Character set and encoding: Data in MQEPH must be in the character set given by the CodedCharSetId queue-manager attribute and encoding of the local queue manager given by MQENC_NATIVE.

Set the character set and encoding of the MQEPH into the CodedCharSetId and Encoding fields in:
  • The MQMD (if the MQEPH structure is at the start of the message data), or
  • The header structure that precedes the MQEPH structure (all other cases).

Usage: You cannot use MQEPH structures to send commands to the command server or any other queue manager PCF-accepting server.

Similarly, the command server or any other queue manager PCF-accepting server do not generate responses or events containing MQEPH structures.