WebSphere Message Brokers
File: ar25269_
Writer: Cerys Giddings

Task topic

This build: July 31, 2007 21:36:41

Setting the value of a target element to a WebSphere MQ constant

There are two ways to set the value of a target element to a WebSphere MQ constant, depending on whether the target element has an entry in the Map Script column of the Message Mapping editor Spreadsheet pane:
The following examples demonstrate how to enter a WebSphere MQ constant in the Edit pane:
$mq:MQ_MSG_HEADER_LENGTH
$mq:MQMD_CURRENT_VERSION

When the map is saved a warning message is displayed if the expression entered for the WebSphere MQ constant is incorrect, for example the constant is not recognized. This is an example of the warning message: The target "$target/purchaseOrder/comment" is not referencing a valid variable.

Content Assist (Edit > Content Assist) provides a list of the WebSphere MQ constants available.
  1. Select $mq: ( MQ constants )
  2. Select Edit > Content Assist again to display a list of the available constants.
WebSphere MQ constants that can be used as values for target elements, grouped by the parameter or field to which they relate, can be found in the WebSphere MQ Constants book.
Related concepts
Message Mapping editor
Mapping node functions
Mapping node syntax
Related tasks
Setting the value of a target element to a constant
Setting the value of a target element using an expression or function
Related reference
Message Mapping editor Target pane
Message Mapping editor Edit pane
Message Mapping editor Spreadsheet pane
Message mappings
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:36:41

ar25269_ This topic's URL is: