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.

Related concepts
Message flow version and keywords
Viewing version and keyword information for deployable objects
Related reference
Guidance for defining keywords