Virtual Hometerm Subsystem (VHS) Manual (H06.03+)

Command Descriptions
Virtual Hometerm Subsystem (VHS) Manual429311-001
7-39
RUN Command
/ OUT file-spec /
causes any VHSCI output generated for this command to be directed to the
specified file.
count
specifies the number of times the command-line is executed. If omitted, the
command-line is executed until the Break key is pressed, or the process is sent
a WAKE message, or the process is terminated.
command-line
specifies one or more VHSCI commands separated by semicolons (;).
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, see the ALIAS command.
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.
-> 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 ]