WebSphere Message Brokers
File: ac35430_
Writer: Catherine Tucker

Concept topic

This build: July 31, 2007 21:20:34

Adding keywords to ESQL files

Keywords can be included in ESQL files in three ways:

comment fields
Add the keyword as a comment in the ESQL file:
-- $MQSI compiled by = John MQSI$ 
static strings
Include the keyword as part of a static string in the ESQL file:
Set target = ‘$MQSI_target = production only MQSI$’
variable string
Include the keyword value as a variable string in the ESQL file:
$MQSI_VERSION=$id$MQSI$

For this example, when the message flow source is extracted from the file repository, the repository’s plug-in has been configured to substitute the identifier $id$ with the actual version number. The identifier value that is required depends on the capability and configuration of the repository, and is not part of WebSphere Message Brokers.

Restrictions within keywords

Do not use the following characters within keywords because they cause unpredictable behavior:
^$.|\<>?+*=&[]
You can use these characters in the values that are associated with keywords; for example:
  • $MQSI RCSVER=$id$ MQSI$ is acceptable
  • $MQSI $name=Fred MQSI$ is not acceptable
Related concepts
Message flow version and keywords
Viewing version, keyword, comment, and path information for deployable objects
Related reference
Guidance for defining keywords
Notices | Trademarks | Downloads | Library | Support | Feedback

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

ac35430_ This topic's URL is: