DSM Template Services Manual

Template Language
DSM Template Services Manual427187-004
3-5
Fields
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.)
Example
A reference to a subsystem UVW token within a list for subsystem ABC needs
qualification by an initialized subsystem ID for UVW, as in this edit descriptor:
99: SSID ( UVW-VAL-SSID, UVW-TKN-OPERATION )
For information on declaring and initializing a subsystem ID, see SSID Statement on
page 3-7.
Fields
A field name refers to a simple (unstructured) subcomponent of a token within the
event message. To refer to a field, use this syntax:
token-id
is the token map or token code for the token.
struct-name
is the name of a DDL DEF of type STRUCT that represents the structure of
token-id.
field-part
describes one level of the structure.
index
is an integer that specifies one element of an array of fields. If you omit both
index and range, index is zero.
range
is a pair of indexes (integers) separated by a colon, as in 2 : 4. This notation
represents an array of fields, which includes the field at the first index through the
field at the second index.
token-id . struct-name [ . field-part [ ( index ) ] ] ...
[ . field-part [ ( index ) ] ]
[ ( range ) ]