 |
» |
|
|
|
Compiles and prepares 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 |  |
FORTPREP [textfile] [,[progfile] [,[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. - progfile
Actual file designator of the program file to which
the prepared program segments are written. When you omit progfile,
the MPE segmenter creates the program file, which resides in the
temporary file domain as $OLDPASS.
To create your own program file, you must do so in one of two ways: By using the MPE/iX
BUILD command,
and specifying a file code of 1029
or PROG, and
a numextents value of 1. This file is
then used by the PREP
command. By specifying a nonexistent file in the progfile
parameter, resulting in the creation of job/session temporary file
of the correct type.
- listfile
Actual file designator of the file to which the
program listing is written. This can be any ASCII output file. The
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. The 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 file resulting from
the merger of textfile and masterfile.
This can be any ASCII output file. The formal file designator is
FTNNEW. Default
is that the file is not 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,
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: 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)
|