Event Management Service (EMS) Analyzer Manual

Command Descriptions
Event Management Service (EMS) Analyzer Manual133700
5-41
RUN
Examples
RUN
The RUN command initiates the execution of other programs from EMS Analyzer.
Many programs can be run from EMS Analyzer, including EDIT, PUP, CUP, FUP,
ERROR, NETMON, and DIAG6100. EMS Analyzer 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 EMS Analyzer output generated for this command to the specified file.
file-spec
is the file name of the program to be executed.
/run-options/
is a list of one or more RUN options.
parameter-string
is the 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 EMS Analyzer command and if the program file is located in either the
$SYSTEM.SYSnn or the $SYSTEM.SYSTEM subvolume. EMS Analyzer runs the
program on $SYSTEM.SYSTEM if it exists on both subvolumes.
If the keyword RUN is included, EMS Analyzer looks for the program file on the
default volume and subvolume only.
The RUN command must be the last command on the command line.
TACL ASSIGN messages and PARAM values are passed to the initiated program.
A program file is run before any abbreviation is executed. For example, if a program
file named VER exists on the volume $SYSTEM.SYSTEM the abbreviation VER
-> REPEAT 5 STATUS DISTRIBUTOR $DIST; DELAY 2:00
-> ALIAS DUMP DUMPLOG DISTRIBUTOR $DIST
-> REPEAT DELAY 5:00 -DUMP
RUN[D] [ /OUT file-spec/ ] file-spec [ /run-options/ ]
[ parameter-string ]