User`s guide

V/VRUN
If you issue the SET RUN VBGEXE command, then:
If you use R or RUN (or V or VRUN) and the job or environment is valid for
running under VBGEXE, the job runs as a completely virtual job.
If you use R or RUN and the job or environment is not valid for running under
VBGEXE, the monitor attempts to run the job as a straight background job.
If you use V or VRUN and the job or environment is not valid for running under
VBGEXE, VBGEXE issues an error message and the job does not run.
If you issue an FRUN or SRUN command, the specified job is run as a foreground
or a system job. The SET RUN VBGEXE command does not apply to foreground
or system jobs.
See the description of the SET RUN [NO]VBGEXE command for further information.
Displaying the RUN State (VBGEXE or NOVBGEXE)
Issue the SHOW CONFIGURATION command to get a system display showing
whether RUN is set to VBGEXE or NOVBGEXE.
Examples
The following three examples show three different ways of running the MACRO–11
assembler as a completely virtual job. The progam to be compiled is MYPROG.MAC.
The object file is to be named MYPROG.OBJ and the listing file, MYPROG.LST.
1. In the first example, V invokes the assembler which then prompts for CSI
command-line input:
.V MACRO
RET
*MYPROG,MYPROG=MYPROG
RET
*
2. In the second example, V uses DCL command-line syntax to issue the same
command as the preceding one. In this case, since V is a DCL command, RT–11
returns you to the keyboard monitor dot prompt when it finishes execution:
.V MACRO MYPROG MYPROG
RET
.
3. In the third example, the SET RUN command enables VBGEXE to automatically
load and execute programs in a completely vitual environment. Then the MACRO
command automatically compiles MYPROG in a virtual environment without it
being necessary to use the V command:
.SET RUN VBGEXE
RET
.MACRO MYPROG/LIST:MYPROG
RET
.
RT–11 Command Descriptions 333