User`s guide

EXECUTE
Choosing a Language Processor
You can specify a language processor with the EXECUTE command in any of the
following three ways:
Specify a language-name option, such as /MACRO, which invokes the MACRO
assembler. Since there are two FORTRAN compilers, see the next section for
how to override the default FORTRAN compiler.
Omit the language-name option and explicitly specify the file type for the
source files. The EXECUTE command then invokes the language processor that
corresponds to that file type. Specifying the file SOURCE.MAC, for example,
invokes the MACRO assembler.
Let the system choose a file type of MAC, DBL, or FOR for the source file you
name. To do this, the handler for the device you specify must be loaded. If you
specify DX1:A and the DX handler is loaded, the system searches for source files
A.MAC and A.DBL, in that order. If it finds one of these files, the system invokes
the corresponding language processor. If it cannot find one of these files, or if the
device handler associated with the input file is not resident, the system assumes
a file type of FOR and invokes the FORTRAN compiler.
If the language processor selected as a result of one of the procedures described
above is not on the system device (SY), RT–11 issues an error message.
Choosing the FORTRAN IV or the FORTRAN–77 Compiler
The meaning of the /FORTRAN option can be changed, depending on the condition
set by the SET FORTRA command. By default, or if SET FORTRA F4 has been
issued, the EXECUTE/FORTRAN command calls the FORTRAN IV compiler. If
SET FORTRA F77 has been issued, the EXECUTE/FORTRAN command calls the
FORTRAN–77 compiler. The FORTRAN–77 compiler under a mapped monitor is
F77XM.SAV and under an unmapped monitor is F77.SAV.
The current condition at which FORTRAN is set can be overridden, using the /F4
option to specify FORTRAN IV or /F77 to specify FORTRAN–77. Options supported
only under FORTRAN–77 are indicated by FORTRAN–77 only. Also, some options,
such as /SHOW:type, take different arguments or are otherwise different than that
option under FORTRAN IV. Therefore, before using the FORTRAN options you
should see the FORTRAN command description.
Position Dependence of Language Options
Language options are position dependent—that is, they have different meanings
depending on where you place them in the command line. Options that qualify a
command name apply across the entire command string. Options that follow a file
specification apply only to the file (or group of files separated by plus signs) they
follow in the command string.
RT–11 Command Descriptions 113