Home

 

Overview

Availability: Both versions: all WebSphere MQ V6.0 systems, plus WebSphere MQ clients connected to these systems.

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 MQPMO_VERSION_2, but this version is not supported in all environments (see above). Applications that you want to port between several environments must ensure that the required version of MQPMO is supported in all the environments concerned. Fields that exist only in the more-recent versions of the structure are identified as such in the descriptions that follow.

The header, COPY, and INCLUDE files provided for the supported programming languages contain the most-recent version of MQPMO that is supported by the environment, but with the initial value of the Vfield set to MQPMO_VERSION_1. To use fields that are not present in the version-1 structure, the application must set the Vfield 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 MQENC_NATIVE, respectively. However, if the application is running as an MQ client, the structure must be in the character set and encoding of the client.



 

Home