Binder Manual (G06.27+, H06.04+, J06.03+)

BIND Commands
Binder Manual528613-004
3-39
OUT Command
If any part of the specification is invalid, if the file does not exist, or if the file cannot
be opened, Binder displays an error message and prompts for input if the input file
is a terminal. If the input file is not a terminal, Binder terminates.
If Binder detects an error while processing an OBEY file, it closes the file and, in
the case of nested OBEY files, any other OBEY files currently open. If the original
input file was a terminal, Binder issues a prompt on the terminal. If the input file
was not a terminal, Binder terminates.
OUT Command
The OUT command directs the output listing to a specified file.
file-name
is a standard Guardian file name.
command
is a Binder command.
param-name
specifies one or more parameters for command.
Considerations
The first form of the OUT command causes permanent redirection of the output. To
redirect the output back to the terminal, enter another OUT command with the
terminal name as the file-name.
The second form of the OUT command causes temporary redirection of the output.
You use this form as part of another command.
If the file name has the form of a disk filename and the file does not exist, an EDIT
file is created. If the named file is an existing disk file, the output is appended to the
file.
If you specify an invalid file name or if Binder cannot open the file, Binder displays
an error message and does not execute the command.
file-name cannot be an OSS pathname.
Examples
The following examples illustrate the syntax of the OUT command.
{ OUT file-name }
{ command / OUT file-name / param-name }