RSC/MP Installation and Configuration Guide

RSCCOM Command Reference
OBEY Command
Example:
The following command allows RSCCOM to continue executing the command file until
it encounters 10 warni ngs or the end of the file:
1(( MAXWARNINGS 10
OBEY Command
The OBEY command reads commands from a batch file.
OBEY filename
filename
An edit file name from which RSCCOM reads commands.
RSCCOM reads and executes commands from the named file until it encounters an
EXIT command or the end of the file. All lines read from the file are echoed to the
terminal. After reaching the end of the file, RSCCOM closes the OBEY file and
command input reverts to the terminal.
When RSCCOM detects errors or warnings while processing the commands from an
OBEY file, the line where the error or warning was found is displayed. RSCCOM
increments the error or warning count and compares that count to the values of the
MAXERRORS and MAXWARNINGS attributes. When the count exceeds either
attribute value, RSCCOM closes the OBEY file and displays a prompt on the terminal.
OBEY commands can be nested, so you can have OBEY commands within an OBEY
file.
Example:
In the following example, ―RSCis the subvolume and TDPCFG is the name of the
file to read:
1(( OBEY RSC.TDPCFG
HP NonStop Remote Server Call (RSC/MP) Installation and Configuration
G uide
52235 8- 013
11-7