RDF System Management Manual for J-series and H-series RVUs (RDF 1.10)
OBEY
The OBEY command executes a series of commands entered in a command file.
OBEY [\system.][$volume.][subvolume.]file
system
identifies the system on which the command file is stored.
volume
identifies the disk volume on which the command file is stored.
subvolume
identifies the subvolume on which the command file is stored.
file
identifies the command file, which contains one or more valid RDFCOM commands.
Where Issued
Primary or backup system.
Security Restrictions
None; anyone can enter the OBEY command.
RDF State Requirement
You can enter the OBEY command at any time, whether or not RDF has been started.
Usage Guidelines
If you omit system, volume, or subvolume, RDFCOM uses the defaults in effect when RDFCOM
was started.
A command file can contain other OBEY commands, nested up to four levels deep.
RDFCOM reads the commands in the command file until it reaches an EXIT command or the end
of the file:
• If it encounters an EXIT command, RDFCOM closes the command file, terminates the RDFCOM
session, and passes control back to the TACL command interpreter.
• If it encounters the end of the file, RDFCOM closes the command file and reads its next
command from the file from which it read the OBEY command.
RDFCOM returns an error message if the command file cannot be opened or does not exist, or if
any command within the command file is syntactically incorrect or otherwise in error. After this
message appears, RDFCOM closes the command file and reads its next command from the file
from which it read the OBEY command.
Example
The following OBEY command reads and processes RDFCOM commands from the command file
named RDFCONX:
]OBEY RDFCONX
OPEN
The OPEN command identifies the RDF control subvolume to which subsequent RDFCOM commands
in this session apply.
On the primary and backup systems, the RDF configuration and context files are stored in the RDF
control subvolume on $SYSTEM. On the backup system, the image trail files for each trail are
stored in the RDF control subvolume on the associated image trail volume.
OPEN control-subvol
206 Entering RDFCOM Commands










