You can add extra information to an object in the form of one or more keywords.
This information can display information about an object after the object has been deployed. The default information that is displayed is the time the object was deployed and the last time the object was modified.
You can define custom keywords, and their values that the IBM® Integration Toolkit interprets as additional information to be displayed, in the properties view. For example, you can define keywords for "Author" and "Subflow 1 Version":
$MQSI Author=John Smith MQSI$
$MQSI Subflow 1 Version=v1.3.2 MQSI$
The following table contains the information that is displayed by the IBM Integration Toolkit:
Object name | Example |
---|---|
Deployment Time | 28-Aug-2009 15:04 |
Modification Time | 28-Aug-2009 14:27 |
Version | v1.0 |
Author | John Smith |
Subflow 1 Version | v1.3.2 |
In this display, the version information has been defined by using the Version property of the object. If the version information had not been defined, it would be omitted from this display.
Use the following syntax to define a keyword and its associated value:
$MQSI KeywordName = KeywordValue MQSI$
Where:
Example definitions | Interpreted keyword and value | Comments |
---|---|---|
$MQSIAuthor=JohnMQSI$ or |
Keyword = "Author" |
Each of these examples shows what can be set and that the leading and trailing white-space characters for the name and value parameters are ignored. |
$MQSI_Author = John MQSI$ | Keyword = "Author" |
The first character after $MQSI can be an underscore character. The underscore character is omitted in the interpreted keyword. If a second underscore character appears, this forms part of the keyword name. |
$MQSI Flow designer = John Smith MQSI$ | Keyword = "Flow designer" |
White-space characters are accepted for each parameter value. |
$MQSI bar = MQSI$ | Keyword = "bar" |
The keyword value can be set to an empty ("") string. |
$MQSI_mqsitag=$MQSI$MQSI$ | Keyword = "mqsitag" |
This example is a poorly formatted definition. After defining the keyword name, the parser is looking to find the delimiters that form the boundary of the value to be set. In this case, the only character before the MQSI$ that closes the definition is a '$', and that is set as the keyword value. |
$MQSI=barMQSI$ | This pattern is ignored because the keyword name cannot be an empty string. | |
$MQSItagbarMQSI$ | This pattern is ignored because there is not a separator (=) between the keyword name and the keyword value. |
^ $ . | \ < > ? + * = & [ ] ( )
You
can use these characters in the values that are associated with keywords;
for example: