Data Transformation Engine IBM WebSphere MQ Adapter Reference Guide
Chapter 3 - IBM WebSphere MQ Commands  MQSeries Adapter Commands for Compatibility 
IBM WebSphere MQ Adapter Reference Guide 
51 
MQSeries Adapter Commands for Compatibility 
The Number of Messages (–NM) and the Duplicate Message ID (-DID) adapter 
command functionality have been retained to provide compatibility support for 
Mercator Software version 1.4.2 maps using these commands. These commands 
are for use only with data sources. 
The following table lists the version-1.4.2-compatible commands and the 
command syntax: 
Name Syntax 
Duplicate Message ID 
-DID 
Number of Messages 
-NM 
value
Duplicate Message ID (-DID) 
Use the Duplicate Message ID adapter command (-DID) to specify the 
concatenation of source messages with duplicate IDs into a single map buffer. 
-DID 
The number of messages must be specified with the Number of Messages adapter 
command (
-NM). A sample command to retrieve 10 multiple concurrent messages 
with the same message ID would be: 
-QMN qmgr –QN my.queue –DID -NM 10 
Equivalent adapter functionality can be achieved with the Quantity (
-QTY) and the 
Message ID (
-MID) adapter commands used with integral or burst mode. 
Number of Messages (-NM) 
Use the Number of Messages adapter command (-NM) to specify the number of 
messages to retrieve from the source queue, without regard to message IDs. 
-NM 
value 
Option Description 
value 
A positive integer representing the number of 
concurrent multiple messages with the same message 
ID to be retrieved. 










