Using the Node Management Services (NMS) Utilities (32022-90053)
Chapter 5 125
Using NMMGR in Maintenance Mode
READCONF
READCONF
Reads selected data from the current configuration record.
Syntax
READCONF fieldname [;FORMAT]
Parameters
fieldname The field name associated with the current path.
Use READALLCONF;FORMAT to find the fieldnames in
the current path.
FORMAT Designates output formatting. Output is formatted in a
WRITECONF format so that it can be re-entered into
NMMGR’s maintenance mode. If the format option is
omitted, data will be formatted with one field per line
when writing to a file.
Description
READCONF reads and displays the selected field in the configuration
record identified by the current path. If the current path is associated
with a multipaged data screen, then the displayed value is from the
current page set by PAGECONF.
You must enter the CARDCONF, then the PATHCONF command before
using the READCONF command. This defines the pathname of the record
from which the data will be read. If you want READCONF to display the
data written in the previous WRITECONF commands, you must first
enter the UPDATECONF command.
If you are referencing a DTC card screen, you must use the CARDCONF
command to set the current card number before issuing the READCONF
command.
Output is directed to the file defined in the file equation FORMLIST. If
FORMLIST is not defined, output is sent to $STDLIST.
CAUTION
The output should first be sent to a file, then the entire file should be
printed. Otherwise, if output is sent directly to a printer, each
READCONF command will generate a separate spool file, resulting in
only one field printed per page.
Example
To display the first field in the NETXPORT.NI.GLOBAL screen:
NMMGR> PATHCONF NETXPORT.GLOBAL
(Sets the path to the screen.)
NMMGR> READCONF HOMENET;FORMAT
(Reads and displays the named field.)
WRITECONF homenet, “netname”
nmmgr