NET/MASTER Network Control Language (NCL) Programmer's Guide
Creating a UDB
Working With Files
106160 Tandem Computers Incorporated 12–9
Creating UDBs From
NonStop NET/MASTER MS
From NonStop NET/MASTER MS, it is usually most convenient to use FUP to create a
UDB or the files in a UDB pair. The following example uses the OPSYS SEND
command from the OCS command input line to invoke FUP from NonStop
NET/MASTER MS. The example shows two FUP commands—the first creates an
entry-sequenced file, and the second purges the file:
OPSYS SEND FUP CREATE $DATA.SUBVOL.MYFILE, TYPE E
OPSYS SEND FUP PURGE $DATA.SUBVOL.MYFILE !
The following screen shows the result of executing the OPSYS SEND FUP commands
from the OCS command input line:
(14:10) --------------------- OPERATOR CONTROL SERVICES ----------------------
START OPSYS SEND FUP CREATE $DATA.SUBVOL.MYFILE, TYPE E
NNM1468 File Utility Program - T6553D20 - (01JUN93) System \SYS1
NNM1468 Copyright Tandem Computers Incorporated 1981, 1983, 1985-1993
NNM1456 CREATED - $DATA.SUBVOL.MYFILE
NNM0999 *END*
START OPSYS SEND FUP PURGE $DATA.SUBVOL.MYFILE !
NNM1456 $DATA.SUBVOL.MYFILE PURGED.
NNM1456 1 FILE PURGED
NNM0999 *END*
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
From NCL, you can use either the CMD core statement or the INTCMD verb to
execute these FUP commands. Using INTCMD is recommended because you can use
the INTREAD verb to read the messages that report the result of the FUP command—
the messages report whether FUP created the file or not. You can then analyze the
messages and take appropriate action. Section 16, "Environments and Command
Processing," explains the differences between CMD and INTCMD.
The following examples use the INTCMD verb to invoke FUP from NCL:
INTCMD "OPSYS SEND FUP CREATE $DATA.SUBVOL.MYFILE, TYPE E"
INTCMD "OPSYS SEND FUP PURGE $DATA.SUBVOL.MYFILE !"
Note The Distributed Systems Network Management (DSNM) conversational interface process (CIP) must be
available to execute the OPSYS SEND command from NonStop NET/MASTER MS. You can use the
STATUS command from the OCS command input line to determine whether DSNM is available.