Figure 26. ImqWorkHeader class
This class encapsulates specific features of the MQWIH data structure (see Table 26). Objects of this class are used by applications putting messages to the queue managed by the z/OS Workload Manager.
ImqBinary (see ImqBinary)
ImqHeader (see ImqHeader)
ImqItem (see ImqItem)
ImqMessage (see ImqMessage)
ImqString (see ImqString)
See the parent class method description for more details.
To be successful, the encoding of the msg object should be MQENC_NATIVE. It is recommended that messages be retrieved with MQGMO_CONVERT to MQENC_NATIVE.
The ImqMessage format must be MQFMT_WORK_INFO_HEADER.
See the parent class method description for more details.
When using predefined values such as MQMTOK_NONE, it may be necessary to make a cast to ensure a signature match; for example, (MQBYTE *)MQMTOK_NONE.
MQRC_BINARY_DATA_LENGTH_ERROR