RPGGO

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

Back to Main Index


RPGGO


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

SYNTAX


     RPGGO [textfile][,[listfile][,[masterfile][,newfile]]]


PARAMETERS


textfile            The actual file designator of the input file from
                    which source program is read.  This can be any ASCII
                    input file.  The formal file designator is RPGTEXT.
                    Default is $STDIN.

listfile            The actual file designator of the file on which the
                    program listing is written. This can be any ASCII
                    output file. The formal file designator is RPGLIST.
                    Default is $STDLIST.

masterfile          The actual file designator of a file which is merged
                    against textfile to produce a composite source.
                    This can be any ASCII input file.  The formal file
                    designator is RPGMAST.  Default is that the master
                    file is not read; input is read from textfile, or
                    from $STDIN, if textfile is not specified.  If two
                    files being merged have identical line numbers, the
                    lines from textfile or from $STDIN will overwrite
                    those in masterfile.

newfile             The actual file designator for the file produced by
                    merging the textfile and the masterfile.  This can
                    be any ASCII output file.  The formal file
                    designator is RPGNEW.  Default is that no file is
                    written.

NOTE


The formal file designators used in this command (RPGTEXT, RPGLIST,
RPGMAST, and RPGNEW) cannot be backreferenced as actual file designators
in the command parameter list.  For further information, refer to
"IMPLICIT FILE COMMANDS FOR SUBSYSTEMS" section of the MPE/iX FILE
command.


OPERATION


     This command compiles, prepares, and executes an RPG
     program.  If you do not specify textfile, MPE/iX expects you
     to enter the source code from your standard input device.

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

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 RPG program entered from
     your standard input device, sending the program listing to
     your standard list device, enter

     RPGGO

     To compile, prepare, and execute an RPG program read from
     the disk file SOURCE, sending the program listing to the
     disk file LISTFL, enter

     RPGGO SOURCE,LISTFL

ADDITIONAL INFORMATION


Commands:   RPG, RPGPREP

Manuals :   MPE Segmenter Reference Manual (32650-60026)

            RPG/3000 Compiler Reference Manual (32104-90001)

Back to Main Index