FTNXLGO

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

Back to Main Index


FTNXLGO


     Compiles, links, and executes an HP FORTRAN 77/iX program.
     HP FORTRAN 77/iX is not part of the 900 Series HP 3000
     Computer System Fundamental Operating Software and must be
     purchased separately.

SYNTAX


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

quotedstring        A parameter for the compiler.  It is a quoted string
                    of no more than 255 characters (including the single
                    or double quote marks that enclose it).  The info
                    string used in the HP FORTRAN 77/iX programming
                    language to pass initial compiler options to the HP
                    FORTRAN 77/iX compiler.  HP FORTRAN 77/iX places a
                    single dollar sign ($) before the info string and
                    places the string before the first line of source
                    code in the text file.

NOTE


The formal file designators used in this command (FTNTEXT, FTNLIST)
cannot be backreferenced as actual file designators in the command
parameter list.


OPERATION


     The FTNXLGO command compiles, links, and executes an HP
     FORTRAN 77/iX 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 object file created during compilation is a system-
     defined temporary file, $NEWPASS, which is passed directly
     to the LinkEditor as $OLDPASS.  The LinkEditor purges the
     object file and writes the linked program to $OLDPASS, which
     is then executed and may be executed repeatedly.

     This command is recognized only if HP FORTRAN 77/iX is
     installed on your system.  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.

NOTE


This command is implemented as a command file. If you set the HPPATH
variable to null (SETVAR HPPATH ""), the command file will not be
executed, and the command will fail.

     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, link, and execute an HP FORTRAN 77/iX program
     entered from your standard input device, with the program
     listing sent to your standard list device, enter

     FTNXLGO

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

     FTNXLGO FORTSRC,LISTFILE

ADDITIONAL INFORMATION


Commands:   FTNXLGO, FTNXLLK

Manuals :    HP FORTRAN 77/iX Reference (31501-90010)

Back to Main Index