Overview

Purpose: The MQPMO structure allows the application to specify options that control how messages are placed on queues. The structure is an input/output parameter on the MQPUT and MQPUT1 calls.

Version: The current version of MQPMO is PMVER2. Fields that exist only in the more-recent versions of the structure are identified as such in the descriptions that follow.

The COPY file provided contains the most recent version of MQPMO that is supported by the environment, but with the initial value of the PMVER field set to PMVER1. To use fields that are not present in the version-1 structure, the application must set the PMVER field to the version number of the version required.

Character set and encoding: Data in MQPMO must be in the character set and encoding of the local queue manager; these are given by the CodedCharSetId queue manager attribute and ENNAT, respectively. However, if the application is running as an MQ client, the structure must be in the character set and encoding of the client.