DSM Template Services Manual

Template Language
DSM Template Services Manual427187-004
3-27
EXIOADDR Edit Code
The AS string specified in the enumeration on the level 89 item, which corresponds to
the value of the field, is output. If n is supplied and the number of characters in the AS
string is less than n, enough trailing blanks are inserted to make a total of n characters.
In all other cases, the output is the size of the AS string.
If the AS string was not specified for the value, the enumeration constant name (the
name immediately following the 89) is used in its place.
If none of the level 89 items correspond to the value of the field, the AS string on the
DEF line is output.
If any error occurs when trying to find the corresponding level 89 item, or if no level 89
item corresponds and there is no AS string on the DEF line, the value of the field is
formatted as a base 10 integer.
When used to format a field of a structure, the token code used must have been
declared using the same structure and must have an SSID attribute.
When used to format a field of a structure mentioned in a DEF_ENUM, the SSID
attribute of the token code used must be the current subsystem ID, the null subsystem
ID, or one of the subsystem IDs in the SHARED_SSID statement.
The ENUM edit code syntax is:
n
if present, is the field width, which must be less than 100.
EXIOADDR Edit Code
The EXIOADDR[n] edit code inserts an extended I/O address in the display text.
The extended I/O address is in the form:
I/O ADDR: (cpu,chan,ctl,unit)
in which cpu is the CPU number, chan is the channel number, ctl is the controller
number, and unit is the unit number. cpu and chan are displayed in decimal. ctl
and unit are displayed in octal preceded by a percent sign (%). All four numbers use
only the necessary digits.
EXIOADDR converts token values of the ZEMS-MAP-EXIOADDR token only. Trailing
blanks are added if you specify a field width larger than the external address requires.
The syntax of the EXIOADDR edit code is:
n
if present, is the field width, which must be less than 100.
ENUM[n]
EXIOADDR[n]