NET/MASTER Network Control Language (NCL) Reference Manual

FILE OPEN
Verbs
3–88 106126 Tandem Computers Incorporated
ID=
fileid
specifies a local identifier of the file, pair of files, or an operating system process
being opened and makes it the current file or pair of files. The ID operand must be
specified.
If you omit the UDBID operand, NCL operates as if the ID operand specifies both
the system-wide and local file identifiers. If so, the value of the local identifier
must be the value of the system-wide UDB ID, which is set by the UDBCTL
file-
spec
definition or UDBCTL OPEN command.
If you specify both the UDBID and ID operands, the value of the ID operand can
be the same as or different from the value of the UDBID operand.
KEYEXTR
specifies whether the file key is to be extracted from the record for NCL processing
or if it is to be maintained within the record as part of the data.
NO
specifies that the key is to remain as part of the data on a FILE GET operation.
It is still separately accessible, however, through the &SYS.FILE.KEY system
variable. On a FILE PUT operation the key portion of the data record is
assumed to be present but is ignored. The current contents of the
&SYS.FILE.KEY system variable always overlay the key within the data.
YES
specifies that the file key is to be removed from the record on a FILE GET
operation and inserted on a FILE PUT operation. Processing then proceeds as
though the record and the key are separate entities.
MAP=
map-name
specifies the name of the map, which can be a user-defined map, to be used by an
MDO. If you do not specify MAP, NCL uses the default map ($NCL).
Note For more information on user-defined maps, refer to the NonStop NET/MASTER NCL Programmer's
Guide.
UDBID=
fileid
specifies the system-wide user database (UDB) identifier of a UDB or UDB pair. A
UDB ID is set by the UDBCTL
file-spec
definition or UDBCTL OPEN
command. The UDB ID is the logical name used by the FILE verbs in NCL
processes to access the UDB or UDB pair.