Virtual Hometerm Subsystem (VHS) Manual (G06.24+, H06.04+, J06.03+)

Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual429311-002
7-40
RUN Command
Considerations
Only one REPEAT command can appear on a command line. To obtain multiple
levels of iteration, use REPEAT commands within OBEY (command) files.
Alias names following a REPEAT command must be prefaced with a hyphen (-).
Only aliases at the beginning of the line are expanded by default. For more
information, For more information, see ALIAS Command on page 7-4.
Examples
RUN Command
The RUN command initiates the execution of other programs from VHSCI. Many
programs can be run from VHSCI, including EDIT, PUP, CUP, FUP, ERROR,
NETMON, and DIAG6100. VHSCI is suspended while the other program runs, and
reactivates when the other program terminates. To enter Debug on the first executable
instruction of the program, use RUND.
OUT file-spec
directs any VHSCI output generated for this command to the specified file.
file-spec
specifies the file name of the program to be executed.
/run-options/
specifies a list of one or more RUN options.
parameter-string
specifies a list of run parameters to be passed to the initiated program. All text
following the program file name is assumed to be part of the parameter string.
Continuation lines can be used.
Considerations
The keyword RUN can be left off the RUN command if the file name is not the
same as a valid VHSCI command and if the program file is located in either the
$SYSTEM.SYSnn or the $SYSTEM.SYSTEM subvolume. VHSCI runs the
program on $SYSTEM.SYSTEM if the program exists on both subvolumes.
-> REPEAT 5 STATUS PROCESS $VHS1; DELAY 2:00
-> ALIAS LISTO LISTOPENS PROCESS $VHS1
-> REPEAT DELAY 5:00 -LISTO
RUN[D] [ / OUT file-spec / ] file-spec [ /run-options/ ]
[ parameter-string ]