HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 6 Command Definitions P-R

RPGXLGO

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Compiles, links, and executes an RPG/XL program. RPG/XL is not part of the HP 3000 Series 900 Computer System Fundamental Operating Software and must be purchased separately. This command is recognized only if RPG/XL is installed on your system. (Native Mode)

Syntax

RPGXLGO [textfile] [,[listfile]]

NOTE: This command follows the optional MPE/iX command line syntax. Refer to "Optional Format for MPE/iX Commands" at the beginning of this chapter.

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 RPGTEXT. 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 RPGLIST. Default is $STDLIST.

NOTE: The formal file designators used in this command (RPGTEXT and RPGLIST) 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

The RPGXLGO command compiles, links, and executes an RPG/XL program. If textfile is omitted, RPG/XL expects input from your standard input device. If you do not specify listfile, RPG/XL sends the program listing to the formal file designator RPGLIST (default is $STDLIST).

The object file created during compilation is a system-defined temporary file, $NEWPASS, which is passed directly to the Link Editor as $OLDPASS. The Link Editor purges the object file and writes the linked program to $OLDPASS, which is then executed and may be executed repeatedly.

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

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.

Example

To compile, link, and execute an RPG/XL program entered from your standard input device, with the program listing sent to your standard list device, enter:

  RPGXLGO

To compile, link, and execute an RPG/XL program from the disk file RPGSRC and send the program listing to the file LISTFILE, enter:

  RPGXLGO RPGSRC,LISTFILE

Related Information

Commands

RPGXL, RPGXLLK

Manuals

HP RPG/XL Programmer's Guide

HP RPG/XL Reference Manual

HP RPG Utilities Reference Manual

Feedback to webmaster