IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

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 IBM® Integration Bus.

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

ac35430_.htm | Last updated Friday, 21 July 2017