DSM Template Services Manual

Template Language
DSM Template Services Manual427187-004
3-33
SSID Edit Code
.
This example shows that when a user uses the type ENUM token in an edit descriptor
but does not specify an explicit edit code, or uses the default edit code MSG,
EMSTEXT automatically changes the format code to I5.
SSID Edit Code
The SSID edit code inserts a subsystem ID in the display text. The subsystem ID is in
the form produced by the SSIDTOTEXT procedure.
SSID converts token values of (ZSPI-TDT-) SSID data type only. Trailing blanks are
added if you specify a field width larger than the subsystem ID requires.
The SSID (subsystem ID) edit code syntax is:
n
if present, is the field width, which must be less than 100.
Example
This example shows an SSID edit code:
SSID16
This edit code produces display text such as:
TANDEM.PATHWAY.D00
SSIDABBR Edit Code
The SSIDABBR edit code inserts an abbreviated subsystem ID in the display text. The
subsystem ID is in the same abbreviated form as that produced by the SSIDTOTEXT
procedure. If the application does not have an abbreviated SSID associated with it,
then ??? is displayed. Abbreviated subsystem IDs are specified by using the SSNAME
statement, as described in SSNAME Statement on page 3-8.
SSIDABBR converts values of the ZSPI-TDT-SSID token data type and fields of the
ZSPI-DDL-SSID type to an abbreviated subsystem ID. Trailing blanks are added if you
specify a field width larger than the abbreviated subsystem ID requires.
Example 3-14. MSG Edit Code With Token Type ENUM
==TEMPL Source for TPS subsystem
==Copyright (C) 1998 Tandem Computers
VERSION: TXXXXG07 - 4AUG98
SSID: ZTPS-VAL-SSID
SSNAME: TPS, TPS
MSG: zems-tkn-eventnumber, 123
Takeover<1>
1:zems-tkn-eventnumber
SSID[n]