DSM Template Services Manual
Template Language
DSM Template Services Manual—427187-004
3-4
Tokens (Unqualified)
In other cases, you must qualify the name with a subsystem ID.
Tokens (Unqualified)
To refer to tokens when qualification by subsystem ID is unnecessary, use this syntax:
token-code
is the name of a DDL token code.
index
if present, is an integer that specifies an occurrence of the token in the event
message. If you omit index, you select the first occurrence of the token. (The
brackets indicate index is optional and are not part of the syntax itself.)
Examples
A reference to the EMS token with the event number is shared and is therefore
unqualified, as in this edit descriptor:
5: ZEMS-TKN-EVENTNUMBER
An unqualified reference to the third occurrence in the buffer of token
ABC-TKN-ACCOUNT uses an index, as in this edit descriptor:
1: ABC-TKN-ACCOUNT(3)
For details, see Edit Descriptors on page 3-20.
Qualified Tokens
To refer to tokens when qualification by subsystem ID is necessary, use this syntax:
ssid
is the name of the subsystem ID that qualifies the token.
token-code
is the name of a DDL token code.
Note. The rules for qualification in the Template Language differ from those in the filter
language. In the filter language, you can use a compound statement to specify a default
subsystem ID and avoid explicit qualification. The Template Language has no such
mechanism. All other rules are the same.
token-code [ ( index ) ]
SSID ( ssid , token-code [ ( index ) ] )