NET/MASTER Network Control Language (NCL) Reference Manual
FILE ADD
Verbs
106126 Tandem Computers Incorporated 3–71
ID=
fileid
specifies the identity of the file, or pair of files, you want to access by using the
FILE ADD verb. This file, or pair of files, then 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 add. 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
specifies 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 relevant only to spooler files — that is,
print type files. For other types of files, this operand is ignored.
The options available are shown in the following table:
Category Option Description
Paper Movement SKIP0 Paper not advanced before the record is written.
SKIP1 Paper advanced one line before the record is written.
SKIP2 Paper advanced two lines before the record is written.
SKIP3 Paper advanced three lines before the record is written.
NEWPAGE Skip to a new page before the record is written.
Underscore Options USCORE1 Text of this record (excluding blanks) underlined with an
underscore (_) character.
USCORE2 Text of this record (including blanks) underlined with an
underscore (_) character.
Text Alignment LEFT Text of the record aligned to the left edge of the paper.
RIGHT Text of the record aligned to the right edge of the paper.
CENTER Center the text of this record. The record width, and
therefore the location of the center, is determined from
the logical record length of the file.
Bold Print BOLD Print the text in bold (overstrike) print.