MPE/iX Commands Reference Manual (32650-90877)

Chapter 6 215
Command List IV
Commands FCOPY thru GETRIN
FORTPREP
To compile and prepare a FORTRAN 66/V source program from a text file named TEXTX
into a program file named PROGX, with the listing sent to the list file LISTX, enter:
FORTPREP TEXTX,PROGX,LISTX
The FORTPREP command combines the compilation and preparation steps. The compiled
program segments, stored in the file $OLDPASS, are prepared and stored in the program file
PROGX. Therefore, it is equivalent to:
FORTRAN TEXTX, LISTX
PREP $OLDPASS,PROGX
Related Information
Commands FORTGO, FORTRAN, RUN, XEQ, PREP, SEGMENTER
Manuals HP FORTRAN/3000 Reference Manual, MPE Segmenter Reference Manual
FORTRAN
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.