NET/MASTER Network Control Language (NCL) Reference Manual

FILE GET
Verbs
3–84 106126 Tandem Computers Incorporated
ONE
retrieves a record from a file or the first file in a pair of files.
TWO
retrieves a record from the second file in a pair of files. An error is raised if
TWO is used when retrieving a record from a single file.
UPDATE
specifies a combination of the OPT=UPD processing with another OPT=operand.
MDO=
mdo-name
specifies the mapped data object (MDO) that you wish to use to read the file. The
MDO can be connected to a map, which can be a user-defined map, by using
Format 1 of the ASSIGN verb, if the map name specified on FILE OPEN or FILE
SET is not desired.
Note For more information on user-defined maps, refer to the NonStop NET/MASTER NCL Programmer's
Guide.
HEADER
specifies whether the MDO header (consisting of the length of the MDO and
its Mapping Services key) is attached to the beginning of the record.
NO
specifies that the header is not attached to the record.
YES
specifies that the header is attached to the record. It is not necessary to
specify the name of the map when retrieving the record.
ARGS
specifies a range of generated variables for receiving the data. See “Frequently
Occurring Operands,” at the beginning of this section, for more information. If
you specify too many variables, the excess variables are given no value—they are
set to the null string.
RANGE=(
start
,
end
)
determines the range of variables specified by the ARGS operand. See
“Frequently Occurring Operands,” at the beginning of this section, for more
information.