Adding keywords to ESQL files

You can add keywords to ESQL files to contain information that you want to associate with a message flow.

Use one or more of the following methods:
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$

In 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 Broker.

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
Version and keyword information for deployable objects
Related reference
Guidance for defining keywords
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:20:41

ac35430_