FTNGO



FTNGO

     Compiles, prepares, and executes a Compatibility Mode HP
FORTRAN 77/V program. HP FORTRAN 77/V is not part of the
900 Series HP 3000 Computer System Fundamental Operating
Software and must be purchased separately. The Native Mode
equivalent of this command is FTNXLGO. (CM)

SYNTAX

     FTNGO [textfile][,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 $STDLIST.

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 MPE/iX 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 quotation marks
in a row, or two double quotes 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

     The FTNGO command compiles, prepares, and executes an HP
FORTRAN 77/V program. If textfile is omitted, MPE/iX expects
input from your standard input device. If you do not specify
listfile, MPE/iX sends the program listing to the formal file
designator FTNLIST (default is $STDLIST).

The USL file created during the compilation is the system-
defined temporary file $OLDPASS, which is passed directly to
the MPE Segmenter. It cannot be accessed because the
Segmenter also uses $OLDPASS to store the prepared program
segments, overwriting any existing temporary file of the same name.

This command may be issued from a session or job. It may not
be used from a program, or in BREAK. Pressing [Break]
suspends the execution of this command. Entering RESUME
continues the execution.

EXAMPLE(S)

     To compile, prepare, and execute an HP FORTRAN 77/V program
entered from your standard input device, with the program
listing sent to your standard list device, enter

FTNGO

To compile, prepare, and execute an HP FORTRAN 77/V program
from the disk file FORTSRC and send the program listing to
the file LISTFILE, enter

FTNGO FORTSRC,LISTFILE

ADDITIONAL INFORMATION

Manuals:  HP FORTRAN 77/iX Reference (31501-90010)
MPE Segmenter Reference Manual (32650-60026)