DSM Template Services Manual
Display-Text Procedures
DSM Template Services Manual—427187-004
2-13
SPI_BUFFER_FORMATNEXT_
Table 2-2. Representation by Token Data Type
Token Data Type
(ZSPI-TDT-) Default Representation
BOOLEAN Represented as an F or T.
BYTE Interpreted as an unsigned integer and represented in decimal.
CHAR Represented as a character string.
CRTPID Same as the FNAME entry.
DEVICE Same as the FNAME entry.
ENUM Interpreted as a signed integer and represented in decimal. If the DEF
in the TOKEN-TYPE is TYPE ENUM, the value is represented by the
appropriate AS character string followed by the numeric value in
parentheses, as in STOPPED (2).
ERROR Same as the STRUCT entry.
FLT or FLT2 Represented in decimal as an array of bytes—not as floating-point
values.
FNAME Represented as a full file name (including the system name or number)
through the FNAMECOLLAPSE procedure. For more information, see
FILE Edit Code
on page 3-28.
FNAME32 Represented as a file name through the FNAME32COLLAPSE
procedure.
INT Same as the ENUM entry.
INT2 or INT4 Interpreted as a signed integer and represented in decimal.
MAP Represented field by field, according to the structure definition.
MARK Same as the SSCTL entry.
SSCTL No data should accompany an SSCTL type token. If present, data is
represented in decimal as an array of bytes.
SSID Represented as a subsystem ID through the SSIDTOTEXT procedure.
STRUCT Represented field by field in most cases (but in decimal as an array of
bytes if no DEF was specified when the token type was defined).
SUBVOL Represented as a file name with the file part missing. See FNAME.
TIMESTAMP Represents the internal value in Local Civil Time (LCT). If the internal
time is not in Greenwich Mean Time (GMT), the conversion to LCT fails
and the display-text representation is wrong. The format is:
yyyy-mm-dd hh:mm:ss.mil.mic
TOKENCODE Represents the parts of a token code (token data type, length, and
token number) in decimal and the token name: (tdt,len,tnm) token-
name
TRANSID Represents an HP NonStopTransaction Management Facility (TMF)
transaction identifier through the TRANSIDTOTEXT procedure.
UINT Interpreted as an unsigned integer and represented in decimal. The
note on ENUM also applies here.