User`s guide

R
(KMON)
Loads and runs a program from the system volume or from the specified file-
structured device. See also FRUN, RUN, SRUN, and V/VRUN.
Format
R filespec
Parameter
filespec
Specifies the program to be executed. The default device is SY, and the default
file type is SAV.
Description
The R command is unlike the RUN command in one way: the default location for the
program run by the R command is the SY device, while the default location for the
program run by the RUN command is the DK device. Use the R command only with
background jobs, including privileged jobs, under a mapped monitor. (Use FRUN
to execute a foreground job under an unmapped multi-job monitor or a mapped
monitor.)
The R and the RUN commands are alike in two ways:
They use the bitmap in the core control block (CCB) to load jobs.
With each command, you can specify any random-access device as the location
of the utility to be run.
The following command loads and executes MYPROG.SAV from device SY:
.R MYPROG
You can use the R command to execute a background virtual job under a mapped
monitor. The R command:
Creates a virtual memory partition for the job.
Creates a region 0 and window 0 definition block.
Sets up the user-mapping registers.
RT–11 Command Descriptions 199