NET/MASTER Management Services (MS) Command Reference Manual

LBANNER
UDBCTL OPEN
NonStop NET/MASTER MS Commands
115412 Tandem Computers Incorporated 2–581
Considerations
The default authority level of this command is 3, except for spooler processes
(authority level of 0) and Guardian processes (authority level of 0). The RESET
operand has a default authority level of 4.
You can enter this command from any NCL procedure, including the INIT NCL
procedure, by using either the CMD core statement or the INTCMD verb.
Refer to the Enscribe Programmer’s Guide, the File Utility Program (FUP) Reference
Manual, and the Tandem NonStop Kernel Programmer’s Guide for additional
information on Enscribe.
For related information, see the SHOW FILES, SHOW UDB, SHOW UDBUSER,
and other UDBCTL commands.
Examples
1. The following example opens a file for read-only access, and assigns it a UDB ID:
UDBCTL OPEN=MYFILE1 ID=UDBID1 INPUT
2. The following example opens a file called USERFILE, performs a PURGEDATA
operation on it, assigns it a UDB ID of USERFILE, specifies sequential access, and
specifies buffered writes.
UDBCTL OPEN=USERFILE ID=* RESET ACCESS=SEQUENTIAL BUFFERED
3. The following example opens a file but does not assign a UDB ID:
UDBCTL OPEN=\SYS1.$SYSTEM.SYSTEM.MYFILE
NCL cannot open this file until it is assigned a UDB ID.
4. The following example opens a pair of files:
UDBCTL OPEN=(MYFILE1,MYFILE2) ID=UDBID1