
Chapter 4 267
Command Definition F-K
FTNPREP
Operation Notes
The FTNPREP command compiles and prepares a compatibility mode HP FORTRAN 77/V
program into a program file on disk. If you do not specify textfile, MPE/iX expects input
from the current input device. If you do not specify listfile, MPE/iX sends the listing output
to the formal file designator FTNLIST (default $STDLIST). The USL file $OLDPASS,
created during compilation, is a temporary file passed directly to the MPE segmenter. You
may access it only if you do not use the default for progfile. This is because the segmenter
also uses $OLDPASS to store the prepared program segments, overwriting any existing
temporary file of the same name.
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
The following example compiles and prepares an HP FORTRAN 77/V program entered
through your standard input device and stores the prepared program segments in the file
$OLDPASS. The listing is printed on your standard list device.
FTNPREP
To compile and prepare an HP FORTRAN 77/V source program from the source file
FORTSRC, store it in FORTPROG, and send the listing to your standard list device, enter:
FTNPREP FORTSRC,FORTPROG
Related Information
Commands FTN, FTNGO, RUN, XEQ, PREP, SEGMENTER
Manuals HP FORTRAN 77/iX Reference
MPE Segmenter Reference Manual