A dialog is a set of commands contained within a file that is used to interact with serviced systems repetitively. If you want to perform an interactive dialog, then use the monitor interface (see Chapter 8, “Using the Monitor Interface”).
To use the dialog command, you must provide a file containing the dialog commands to be executed on the named serviced system. Place the dialog file in the following directory:
Either CONSOLE$USER_DEFAULTS, if defined, or SYS$LOGIN
If you do not specify a directory as part of the filename for the command, dialog searches for the file in the following order: the user defaults directory, your home directory and, finally, your current working directory. If the dialog file is not in one of these directories, you can include directory as part of the file name on the command line.
The section Creating a Dialog Script describes the commands you can include in a dialog procedure.
To perform a dialog with a serviced system, enter:
$ CONSOLE DIALOG/FILE=filename/QUIET system
The quiet qualifier is optional, and suppresses the output from the dialog command.
For example, to shut down the serviced system PEPPER using the dialog file shutdown.dialog:
$ CONSOLE DIALOG/FILE=SHUTDOWN.DIALOG PEPPER
|
Copyright © 2010 CA.
All rights reserved.
|
|