MPE/iX Commands Reference Manual (32650-90864)

Chapter 4 257
Command Definition F-K
FORTPREP
NOTE The formal file designators used in this command (FTNTEXT, 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 and prepares a compatibility mode FORTRAN 66/V program into
a program file stored on disk. If you do not specify a source file, MPE/iX expects the input
from your standard input device. If you do not specify listfile, MPE/iX sends the output to
your standard list device.
The USL file created during compilation is a system-defined temporary file $OLDPASS,
which is passed directly to the MPE segmenter. The segmenter also uses the file
$OLDPASS. The prepared program segments are written to it, thus overwriting any
existing temporary file of that name.
If you have no need to examine the USL file, use the default for progfile. This way, MPE/iX
creates a program file for you, ensuring the best results. If, on the other hand, you want to
store the USL file and the program file as separate entities, specify progfile.
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 and prepare a FORTRAN 66/V program entered from your standard input
device, into the standard default file $OLDPASS, with the listing printed on your standard
list device, enter:
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 (30000-90040)
MPE Segmenter Reference Manual (32650-60026)