HP 3000 Manuals

RPGGO [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Commands Reference Manual Volume I

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.

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 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 the "Implicit FILE Commands for Subsystems" discussion of the FILE command.
Operation Notes This command compiles, prepares, and executes an RPG program. If you do not specify textfile, MPE/iX expects the source code to be entered 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. Use This command may be issued from a session, job, or program. It may not be issued in BREAK. Pressing Break suspends the execution of this command. Entering the RESUME command continues the execution. Examples To compile, prepare, and execute an RPG program entered from your standard input device and send the program listing to your standard list device, enter: RPGGO To compile, prepare, and execute an RPG program read from the disk file SOURCE and send the program listing to the disk file LISTFL, enter: RPGGO SOURCE,LISTFL Related Information Commands RPG, RPGPREP, PREP, RUN Manuals MPE Segmenter Reference Manual (32650-60026) RPG/3000 Compiler Reference Manual (32104-90001)


MPE/iX 5.0 Documentation