
256 Chapter 4
Command Definition F-K
FORTPREP
FORTPREP
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=quo
tedstring]
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.