NET/MASTER Network Control Language (NCL) Programmer's Guide
12 Working With Files
106160 Tandem Computers Incorporated 12–1
This section discusses how to work with files—or user databases (UDBs)—from an
NCL process. The section:
Describes the Enscribe file structures supported by NCL
Explains the meaning of the terms “UDB” and “UDB pair,” and outlines how to
create a UDB and the files in a UDB pair
Discusses how to control access to a UDB and UDB pair by using the NonStop
NET/MASTER MS UDBCTL commands
Describes how to display information about UDBs, UDB pairs, and users of UDBs
Summarizes how to control access to a UDB and UDB pair by using the NCL FILE
verbs
Lists the system variables set by the FILE verbs
Discusses how to use the FILE verbs to manipulate UDBs and UDB pairs, and
records in UDBs and UDB pairs, from an NCL process
Table 12-1 summarizes the verbs and NonStop NET/MASTER MS commands
discussed in this section.
Table 12-1. Verbs and NonStop NET/MASTER MS Commands Used With Files (Page 1 of 2)
Verb or Command Description
FILE ADD verb Adds a record to a file, pair of files, or to an operating system
process.
FILE CLOSE verb Closes a file, pair of files, or operating system process.
FILE DEL verb Deletes a record or a series of records from a key-sequenced file or
pair of files.
FILE GET verb Retrieves a record from the current file or pair of files.
FILE OPEN verb Opens a file or pair of files or operating system process for
processing by NCL.
FILE PUT verb Replaces an already existing record in or adds a new record to a file,
a pair of files, or an operating system process.
FILE PUTGET verb Puts records to and gets records from an operating system process
from NCL.
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.
SHOW FILES command Displays information about the physical attributes of user databases
(UDBs).