TMF Reference Manual (G06.26+)
Using TMFCOM
HP NonStop TMF Reference Manual—522418-003
2-8
Directing Output to an Alternate Destination
If you include a command that requires an answer to a confirming question (such as
ABORT TRANSACTION) before TMFCOM processes that command further, and you
respond with NO or STOP, the current command is discontinued, and the next
command is executed.
After all the commands are executed, TMFCOM takes one of the following actions:
•
If TMFCOM is running interactively, it prompts you for another command.
•
If TMFCOM is running noninteractively, it automatically terminates the TMFCOM
session and returns control to TACL.
Directing Output to an Alternate Destination
In most cases, TMFCOM users receive command output at their workstations or
terminals. However, you can direct output from most commands that generate it to
other destinations as well. In particular, you can name a disk file, a process (such as
the spooler), or a device (such as a printer, tape drive, or other terminal or workstation)
as the destination.
To direct output to an alternate destination, you name that destination in the OUT
option, entered between the command keyword and object keyword of the command.
The syntax for the OUT option is:
OUT [\node.] $process [.#identifier]
specifies the name of a process or a device as the destination of the output
generated by the TMFCOM command.
OUT [\node.][$volume.][subvolume.] file-id [!]
specifies the name of a file as the destination of the output generated by the
TMFCOM command. If you specify a disk file that does not exist, an edit file
having the name you specified is automatically created. This edit file has file code
101, and output generated by the TMFCOM command is directed to it.
•
If you specify a disk file that exists, output generated by the TMFCOM
command is appended to that file regardless of the file’s format.
•
If you specify a disk file that exists and terminate the OUT option with the
exclamation point (!), any data presently stored in the file is purged and the
EOF indicator is set to 0 before any new data is written to the file.
Note. You cannot use the OUT option, however, for the following commands: DELETE TMF,
EXIT, FC, OBEY, ?, and !.
[/OUT [\node.] $process [.#identifier]/ ]
[/OUT [\node.][$volume.][subvolume.] file-id [!]/]