Data Transformation Engine IBM WebSphere MQ Adapter Reference Guide
Chapter 3 - IBM WebSphere MQ Commands  List of Commands 
IBM WebSphere MQ Adapter Reference Guide 
35 
Header (-HDR) 
Use the Header adapter command (-HDR) to specify the inclusion of the IBM 
WebSphere MQ message descriptor in the source and target data. 
-HDR 
When Header adapter command (
-HDR) is used for a data source, the message 
descriptor appears first, before the message content. Use the Header adapter 
command (
-HDR) to include any of the message descriptor components in 
mapping rules. 
When the Header adapter command (
-HDR) is used for a data target, the message 
descriptor must be the first component of the output type. Mapping rules for the 
message descriptor components must be provided. 
Included in the examples folder is a type tree that can be used when specifying 
this command. For more information, refer to Chapter 6 - Example Files. 
Note  For data targets only, if the Header adapter command (-HDR) is used in 
conjunction with the Message ID adapter command (-MID), the Header command 
(-HDR) takes precedence over the Message ID command, which is ignored. If the 
Header adapter command (-HDR) is used in conjunction with the Version 2 
adapter command (-V2), then the version information mapped in the header is 
ignored. 










