2332 (091C) (RC2332): MQRC_MISSING_WIH


Explanation

An MQPUT or MQPUT1 call was issued to put a message on a queue with an IndexType attribute that had the value MQIT_MSG_TOKEN, but the Format field in the MQMD was not MQFMT_WORK_INFO_HEADER. This error occurs only when the message arrives at the destination queue manager.


Completion code

MQCC_FAILED


Programmer response

Modify the application to ensure that it places an MQWIH structure at the start of the message data, and sets the Format field in the MQMD to MQFMT_WORK_INFO_HEADER. Alternatively, change the ApplType attribute of the process definition used by the destination queue to be MQAT_WLM, and specify the required service name and service step name in its EnvData attribute.

Parent topic: API reason codes