User`s guide

RUN
(KMON)
Loads and runs a program from the default device DK, or from the specified file-
structured device. See also FRUN, R, SRUN, and V/VRUN.
Format
RUN filespec
input-list, [output-list]
argument
Parameters
filespec
Specifies the program to be executed. RT–11 assumes a SAV file type for the
executable file, which can reside on any RT–11 block-replaceable device. The
default device is DK.
argument
Specifies a single argument in CSI (Command String Interpreter) that can be
passed to the program to be run.
input-list
Specifies a list of input file specifications in CSI or CCL format that can be passed
to the program to be run.
output-list
Specifies a list of output file specifications in CSI CCL format that can be passed
to the program to be run.
Description
The RUN command automatically loads the device handler for the device you specify
if it is not already resident. This eliminates the need to explicitly load a device
handler when you run an overlaid program from a device other than the system
device. The RUN command executes only those programs that have been linked to
run as background jobs. (Use FRUN to execute foreground jobs under an unmapped
multi-job monitor or a mapped monitor.)
RUN is a combination of the GET and START commands. First it loads a memory
image file from a storage device into memory. Then it begins execution at the
program’s transfer address.
Optional CSI Parameters
You can use the RUN command to specify a CSI (Command String Interpreter)
formatted input line for a user or a system utility program. To do so, specify the
needed argument or argument list as parameters of the RUN command. RT–11
RT–11 Command Descriptions 211