DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
Using MEDIACOM
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
1-3
RUN Command Syntax
OUT [ out-file ]
specifies a file that MEDIACOM uses as an output file. MEDIACOM writes all
input commands and command responses to its current output file. Specify a
disk file name or process name for out-file. If out-file does not exist,
MEDIACOM creates an EDIT-format file (file code 101) and writes its output to
that file. If out-file already exists, MEDIACOM overwrites that file.
If you include OUT with no out-file, MEDIACOM produces no output text.
If you omit the OUT option, MEDIACOM uses the OUT file currently defined for
your command interpreter (usually your home terminal).
PRI priority
assigns an execution priority for the MEDIACOM process. Specify priority
as a number in the range 1 through 199. Processes with higher priorities
generally run faster than processes with lower priorities.
If you omit the PRI option, the command interpreter starts MEDIACOM with a
priority that is one less than the priority of your command interpreter.
command
is any MEDIACOM command except FC, HISTORY, !, and ?. When you include a
command, the MEDIACOM process runs in execute-and-quit mode and ignores an
IN option if it was used.
All MEDIACOM commands are described in Section 2, MEDIACOM Commands.
Examples
1. This example runs MEDIACOM in execute-and-quit mode:
2> MEDIACOM STATUS TAPEMOUNT
2. This example starts an interactive MEDIACOM session with a priority of 143:
6> MEDIACOM /PRI 143/
MEDIACOM - T6028G06 (01MAR2002)
Copyright (C) 2002, Compaq Computer Corporation
MC>
3. This example runs MEDIACOM in batch mode. The MEDIACOM commands
stored in COMFILE are executed in the background, and command output is sent
to the disk file named RESULTS:
10> MEDIACOM /IN COMFILE, OUT RESULTS, NOWAIT/