 |
» |
|
|
|
Compiles a compatibility mode FORTRAN 66/V program. FORTRAN
66/V is not part of the HP 3000 Series 900 Computer System Fundamental
Operating Software and must be purchased separately. Syntax |  |
FORTRAN [textfile] [,[uslfile] [,[listfile] [,[masterfile] [,[newfile]]]]] [;INFO=quotedstring] Parameters |  |
- textfile
Actual file designator of the input file from which
the source program is read. This can be any ASCII input file. The
formal file designator is FTNTEXT.
Default is $STDIN. - uslfile
Actual file designator of the user subprogram library
(USL) file to which the object program is written, which can be
any binary output file with file code of USL
or 1024. The
formal file designator is FTNUSL.
If the uslfile parameter is omitted,
the object code is saved to the temporary file $OLDPASS.
If entered, this parameter indicates that the USL file was created
in one of four ways: By using the MPE/iX
SAVE command
to save default USL file $OLDPASS
created during a previous compilation. By building the USL with the MPE segmenter -BUILDUSL
command. Refer to the MPE Segmenter Reference Manual
(30000-90011). By creating a new USL file with the MPE/iX BUILD
command and specifying a file code of USL
or 1024. By specifying a nonexistent uslfile
parameter, thereby creating a permanent file of the correct size
and type.
- listfile
Actual file designator of the file to which the
program listing is written. This can be any ASCII output file. Formal
file designator is FTNLIST.
Default is $STDLIST. - masterfile
Actual file designator of the master file with which
textfile is merged to produce a composite
source. This can be any ASCII input file. Formal file designator
is FTNMAST. Default
is that the master file is not read; input is read from textfile,
or from $STDIN
if textfile is not specified. - newfile
Actual file designator of the merged textfile
and masterfile. This can be any ASCII
output file. Formal file designator is FTNNEW.
Default is that no file is written. - quotedstring
A sequence of characters between two single quotation
marks (apostrophes) or between two double quotation marks. You may
use the delimiter as part of the string so long as the delimiter
appears twice. Any occurrence of two single or two double quotation
marks in a row, is considered part of the string, and, therefore,
not the terminating delimiter. INFO=quotedstring
is used to pass initial compiler options to a program.
 |  |  |  |  | NOTE: The formal file designators used in this command (FTNTEXT,
FTNUSL, FTNLIST,
FTNMAST, and
FTNNEW) cannot
be backreferenced as actual file designators in the command parameter
list. For further information, refer to the "Implicit FILE Commands
for Subsystems" discussion of the FILE
command. |  |  |  |  |
Operation Notes |  |
This command compiles a compatibility mode FORTRAN 66/V program
into a USL file on disk. If you do not specify textfile,
MPE/iX expects input from your standard input device. If you do
not specify listfile, MPE/iX sends the
listing to your standard list device. If you create the USL file (using the MPE/iX BUILD
command) before compiling the program, you must assign it a file
code of USL or
1024. If you
omit this parameter, the compiled program segments are stored in
the temporary file $OLDPASS. Use |  |
This command may be issued from a session, job, or program.
It may not be used in BREAK. Pressing Break
suspends the execution of this command. Entering the RESUME
command continues the execution. Examples |  |
To compile a FORTRAN 66/V program entered from your standard
input device into an object program in the USL file $OLDPASS,
and write the listing to your standard list device, enter: The following example compiles a program from the source file
MYSOURCE and
stores the object code into the USL file MYUSL.
The program listing is stored in the disk file MYLIST: FORTRAN MYSOURCE,MYUSL,MYLIST;INFO= "$CONTROL BOUNDS"
|
To compile a FORTRAN 66/V program and store the object code
into a USL file you create with the BUILD
command, enter: BUILD OBJECT;CODE=USL FORTRAN SOURCE,OBJECT,LISTFL
|
To create a USL file with the BUILD
command, the code must be specified. Related Information |  |
- Commands
FORTGO,
FORTPREP, RUN,
XEQ, PREP,
SEGMENTER - Manuals
HP FORTRAN/3000 Reference Manual MPE Segmenter Reference Manual
|