NET/MASTER Network Control Language (NCL) Reference Manual
FILE PUT
Verbs
3–92 106126 Tandem Computers Incorporated
VARS
output-vars-list
specifies the name(s) of the variables that you want to use as the data for the
FILE PUT operation. The variables are separated by commas. You can cause
an error if you exceed the maximum record size by specifying too many
variables. Multiple variables must be enclosed in parentheses and separated
by commas.
variable*
specifies a set of variables. See “Frequently Occurring Operands,” at the
beginning of this section, for more information.
RANGE=(
start
,
end
)
determines the range of variables specified by the VARS operand. See
“Frequently Occurring Operands,” at the beginning of this section, for more
information.
SEGMENT=
n
see SEGMENT under the preceding ARGS operand.
ID=
fileid
specifies the identity of the file, pair of files, or an operating system process you
want to access by using the FILE PUT 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.
KEY=
keydata
specifies the key of the record you want to update. The length of the key operand
depends on the length of the key for the current file being processed. The
maximum key length supported is 255 characters. If you supply a key that is
smaller than the file’s defined key size, NCL pads the supplied key with spaces or
null characters. For delimited files, the pad character is a space; otherwise, it is a
null character. An error occurs if you supply a key greater in length than the file’s
defined key size.
PRTCNTL
used to specify carriage control options for the control of print formatting. The
options available relate to paper movement, underscore options, text alignment,
and bold print. Only one option from each of these categories may be specified. If
more than one category is chosen, each option must be separated by a comma.
The PRTCNTL operand and its options are only relevant to print type files: for
other types of files, this operand is ignored.