DSM Template Services Manual
Template Language
DSM Template Services Manual—427187-004
3-37
Data Types and Edit Codes
Data Types and Edit Codes
You can refer to the internal data types in Table 3-2 within an edit descriptor.
Edit Codes for Fields
Table 3-2 applies directly to data types of simple rather than structured tokens.
Table 3-3 and Table 3-4 refer to fields.
Table 3-2. Data Types and Edit Codes
Token Type (ZSPI-TDT-) Default Edit Code Valid Edit Codes
BOOLEAN BOOL BOOL, MSG
BYTE I integer, MSG, SYSTEM
CHAR A A, integer, MSG
CRTPID FILE FILE, SYSTEM
DEVICE FILE FILE, SYSTEM
ENUM I, ENUM* integer, MSG, ENUM*
ERROR N.A. field
FNAME FILE FILE, SUBVOL, SYSTEM
FNAME32 FILE FILE, SUBVOL, SYSTEM
INT I, ENUM* integer, MSG, SYSTEM, ENUM*
INT2 I integer, MSG, SYSTEM
INT4 I integer, MSG, SYSTEM
LIST N.A. None—moves into list
MAP N.A. field
MARK N.A. None—positions to mark token
SSCTL N.A. None—requests SPI action
SSID SSID SSID, SSIDABBR
STRUCT N.A. field
SUBVOL SUBVOL SUBVOL, SYSTEM
TIMESTAMP N.A. DATE, TIME
TOKENCODE N.A. MSG, integer
TRANSID TRANSID TRANSID, SYSTEM
UINT I, ENUM* integer, MSG, SYSTEM, ENUM*
USERNAME N.A. field
* ENUM is the default edit code for token type ENUM only when the DDL type is ENUM. ENUM is not a valid
edit code when the DDL type is not ENUM.
field represents a data type that you can format only field-by-field.
integer represents edit codes I, B, O, H, ZI, ZB, ZO, and ZH.