DSM Template Services Manual
Template Language
DSM Template Services Manual—427187-004
3-28
FILE Edit Code
Example
cpu, chan, ctl, and unit values of 14, 0, 9, and 19 are displayed as:
(14,0,%11,%23)
FILE Edit Code
The FILE[n] edit code inserts a full file name in the display text:
[\system].$volume.subvolume.filepart
system is present only if the value (token or field) is in network form. If present,
system is the system name (if known) or a three-digit system number. (volume,
subvolume, and filepart have their usual definitions.)
The file name is in the form produced by the FNAMECOLLAPSE (or
FNAME32COLLAPSE) procedure. The exact external form is appropriate to the type of
file (disk file, subdevice name, or other form).
FILE converts token values of (ZSPI-TDT-) FNAME, FNAME32, DEVICE, CHAR, and
CRTPID data type. Trailing blanks are added if you specify a field width larger than the
subvolume requires.
The FILE edit code syntax is:
n
if present, is the field width, which must be less than 100.
Example
This example shows a FILE edit code:
FILE40
FORMATDATA Edit Code
The FORMATDATA edit code converts data formatted in internal form to external form
or converts data entered in external form to data in internal form, according to the
specified format.
The syntax of the FORMATDATA edit code is:
<format-spec>
is a format specification string accepted by procedure FORMATCONVERT. It can
be up to 100 characters long.
FILE[n]
FORMATDATA ( <format-spec> [, scale-factor>] )