Data Transformation Engine IBM WebSphere MQ Adapter Reference Guide
Chapter 3 - IBM WebSphere MQ Commands  List of Commands 
IBM WebSphere MQ Adapter Reference Guide 
42 
For example, to specify the target queue named target_q under the queue 
manager qmgr for message outputs (where 16 is the numeric value of the 
MQOO_OUTPUT option), the syntax would be: 
-QMN qmgr -QN target_q -MQOO 16 
To specify the source queue named source_q under the queue manager qmgr, 
for message input in browse mode with shared access (where 10 is the numeric 
superposition of the MQOO_INPUT_SHARED (2) and MQOO_BROWSE (8) options), 
the syntax would be: 
-QMN qmgr -QN source_q -MQOO 10 
Packet (-PKT) 
Use the Packet adapter command (-PKT) for data targets to break output data 
into multiple messages and to put these messages on the target queue with the 
same message identifier. 
-PKT 
packet_size 
Option Description 
packet_size 
The packet size must be specified in units of 1000 bytes 
with a minimum of one unit. 
For example, to specify a packet size of 3000 bytes, the syntax would be: 
-PKT 3 
If one of the following conditions is met: 
♦  If the 
-HDR or -DH command is used on output, and the message header has 
the Version field set to a value of one (1). 
♦  If the Version 2 (
-V2) command is used (which enforces the use of the Version 
1 header from MQSeries 2.x). 
The created physical messages will be independent logical messages that will have 
the same message id. These messages cannot be automatically reassembled on 
input, however, this can be achieved through the proper map design. 
On the other hand, if BOTH of the following conditions are met: 
♦  If 
-HDR or -DH is used on output, and if the message header has Version field 
set to a value of two (2). 










