MPE/iX Commands Reference Manual (32650-90877)

Chapter 6 213
Command List IV
Commands FCOPY thru GETRIN
Examples
To compile, prepare, and execute a FORTRAN 66/V program entered from the disk file
SOURCE and transmit the resulting program listing to the disk file LISTFL, enter:
FORTGO SOURCE,LISTFL
To enter your source input from a device other than your standard input device, and/or
direct the listing to a device other than your standard list device, simply name the input
and listing files as command parameters. In the example below, the source listing is read
from magnetic tape, formally identified by the file name MTAPE. Output is sent to the
printer, identified by the file name PRTR.
FILE MTAPE;DEV=TAPE
FILE PRTR;DEV=FASTLP
MTAPE and PRTR are then backreferenced in the FORTGO command, as shown here:
FORTGO *MTAPE,*PRTR
Related Information
Commands FORTPREP, FORTRAN, RUN, XEQ, PREP, SEGMENTER
Manuals HP FORTRAN/3000 Reference Manual
MPE Segmenter Reference Manual
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=
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.