Data Transformation Engine IBM WebSphere MQ Adapter Reference Guide
Chapter 3 - IBM WebSphere MQ Commands  List of Commands 
IBM WebSphere MQ Adapter Reference Guide 
41 
When a message ID is specified for a target, the adapter places the message on 
the queue with that message ID assigned. If this command is not specified for a 
target, the message is put on the queue using a unique message identifier 
generated by the queue manager. 
Note  For targets only, if the Header adapter command (-HDR) is used in conjunction 
with the Message ID adapter command (-MID), the Header adapter command 
(-HDR) takes precedence over the Message ID adapter command (-MID), which is 
ignored. 
MQOPEN Options (-MQOO) 
Use the MQOPEN Options adapter command (-MQOO) to explicitly set the numeric 
value of the Options parameter in the MQOPEN API call made by the adapter to 
the MQSeries library when opening a queue. 
-MQOO 
option_number
Option Description 
option_number 
Valid values are any positive integer that represents 
the value of the option parameter in the MQOPEN API 
call made when opening a queue. 
As an example of the required option usage, if you want to specify an open option 
for the queue to be used on the output side with an MQOO_FAIL_IF_QUIESCING 
property, you must specify more than the MQOO_FAIL_IF_QUIESCING value 
(8192). You must also add the MQOO_OUTPUT option value (16), which indicates 
that the queue will be opened for output (storing messages). The correct syntax 
for this example would be: 
-MQOO 8208 
because MQOO_OUTPUT + MQOO_FAIL_IF_QUIESCING = 16+8192 = 8208. 
The valid value is important; otherwise, the MQOPEN, MQGET, or MQPUT calls 
made by the adapter may fail. Refer to the MQ Open Options section in the IBM 
MQ Series Application Programming Reference for the options and their 
corresponding values that can be used with the 
-MQOO adapter command. 
Note  The MQOPEN Options adapter command (-MQOO) must be accompanied by the 
Queue Name adapter command (-QN) and the Queue Manager Name adapter 
command (-QMN). 










