FORTRAN Reference Manual
Program Compilation
FORTRAN Reference Manual—528615-001
9-2
Compiling a Program
Compiling a Program
The syntax diagram below describes the implied RUN command to compile a 
FORTRAN program.
source
is the name of a disk file, process, $RECEIVE, magnetic tape (unlabeled and 
unblocked only), class map DEFINE, or terminal from which the compiler reads 
source-language statements and compiler directives. Disk files can be structured, 
unstructured, or EDIT format. FORTRAN reads 132-byte records from source 
until it encounters an end-of-file record. 
The form of source is one of the following:
[\node.][$volume.][subvolume.] fileid
$device-name
$logical-device-number
$process-name
Figure 9-1. The Compilation Process
FORTRAN [/[IN source] [,OUT [ list] ] [, option]... /]
 [ object] [; directive [, directive]...]
VST0901.vsd
Fsource
Prog1
Sub1
FORTRAN
Listing
Object File
BINSERV
Fobject
Common
Sub2
Object Files
SYMSERV
Source Files










