HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4  Command Definition F-K

FTNGO

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Compiles, prepares, and executes 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 FTNXLGO command.

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 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 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.

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, 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

Related Information

Commands

FTN, FTNPREP, RUN, XEQ, PREP, SEGMENTER

Manuals

HP FORTRAN 77/iX Reference

MPE Segmenter Reference Manual

Feedback to webmaster