NET/MASTER Network Control Language (NCL) Reference Manual

FILE SET
Verbs
3–100 106126 Tandem Computers Incorporated
FILE SET The FILE SET verb specifies a new file, or pair of files, to be the current file or pair of
files, or allows you to change the attributes of the current file or pair of files. It also
allows you to reset the value of a key.
FILE SET [ ID=
fileid
]
[ ALTKEY=
altkey
]
[ FORMAT={ MAPPED | UNMAPPED | DELIMITED } ]
[ GENLEN=
num
]
[ KEY=
keydata
]
[ KEYEXTR={ NO | YES } ]
[ MAP=
map-name
]
ID=
fileid
specifies the identity of the file, or pair of files, you want to set by using the FILE
SET verb. This file, or pair of files, becomes the current file or pair of files. If this
operand is omitted, NCL accesses the last file, or pair of files, identified by the ID
operand in a previous file operation.
ALTKEY=
altkey
contains the two-character identifier that identifies the record's alternate key (for
key-sequenced files only).
FORMAT
specifies the file format accessing requirements. The following formats are
available.
MAPPED
refers to individual fields within the record by symbolic name. A file record is
generally accessed as a complete entity by reading it into, or writing it from,
an MDO. For the special case of the map name of $NCL, the record is read
into, or written from, standard variables. Mapping Services is used to format
or access the MDO containing the variables. This provides data transparency
by allowing variables containing any data to be placed in file records for
subsequent NCL access. Maps may be user-defined.
Note For more information on user-defined maps, refer to the NonStop NET/MASTER NCL Programmer's
Guide.