FORTGO

Generated from C.65.00 /SYSADMIN/PUB/MYCICAT last modified on Sun Aug 29 15:08:37 2004

Back to Main Index


FORTGO


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

SYNTAX


     FORTGO [textfile][,[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.

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 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
                    merging 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 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
                    to pass initial compiler options to a program.

NOTE


The formal file designators used in this command (FTNTEXT,
FTNLIST,FTNMAST and FTNNEW) 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.


OPERATION


     The FORTGO command compiles, prepares, and executes a
     Compatibility Mode FORTRAN 66/V program.  If you do not
     specify a source file, MPE/iX expects input from your
     standard input device.  If you do not specify listfile,
     MPE/iX writes the listing to your standard output device.

     The USL file created during the compilation is a system-
     defined temporary file $OLDPASS, which is passed directly to
     the MPE Segmenter, and cannot be accessed.

     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 RESUME continues the execution.


EXAMPLE(S)


     To compile, prepare, and execute an 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

ADDITIONAL INFORMATION


Commands:   FORTPREP, FORTRAN

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

Back to Main Index