Home

 

Overview

Availability: All WebSphere MQ V6.0 platforms.

Purpose: The MQGMO structure allows the application to specify options that control how messages are removed from queues. The structure is an input/output parameter on the MQGET call.

Version: The current version of MQGMO is MQGMO_VERSION_3, but this version is not supported in all environments (see above). Applications you want to port between several environments must ensure that the required version of MQGMO 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 MQGMO that is supported by the environment, but with the initial value of the Vfield set to MQGMO_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 MQGMO 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