MPE/iX Commands Reference Manual (32650-90877)
Chapter 6 221
Command List IV
Commands FCOPY thru GETRIN
FTNPREP
Compiles and prepares a compatibility mode HP FORTRAN 77/V program. HP FORTRAN
77/V is not part of the HP 3000 Series 900 Computer System Fundamental Operating
Software and must be purchased separately. The native mode equivalent of this command
is the FTNXLLK command.
Syntax
FTNPREP[
textfile
] , [
progfile
] [,
listfile
] [;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. 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 is stored in the temporary file domain as
$OLDPASS. If you do 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, in which
case a job/session temporary file of the correct size and type is created.
listfile
Actual file designator of the file to which the program listing is written.
This can be any ASCII output file. Formal file designator is FTNLIST.
Default is $STDLIST.
NOTE
The formal file designators used in this command (FTNTEXT and FTNLIST)
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.
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 in the HP FORTRAN 77/V programming
language to pass initial compiler options to a program.
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