MPE/iX Commands Reference Manual (32650-90877)
Chapter 11 443
Command List IX
Commands RECALL/=RECALL thru RUN
RPGXL
Compiles 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
RPGXL[
textfile
] [,[
objectfile
][,[
listfile
]]] [;INFO=
quotedstring
]
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 $STDIN.
objectfile
Actual file designator of the object file to which the object code is stored.
This file is stored in binary form and has a file code of 1461 or NMOBJ. Its
formal file designator is RPGOBJ. If the
objectfile
parameter is omitted,
the object code is saved to the temporary file $OLDPASS.
If you specify
objectfile
, the compiler stores the object file in a
permanent file of the correct size and type, and with the name you
specified. If a file of the same name already exists, the object code
overwrites that file. If the compiler issues an error message telling you
that a new or existing object file you are trying to compile to is too small,
build the object file with a larger size and recompile to it. You may use the
MPE/iX SAVE command to store $OLDPASS as a permanent file under
another name.
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.
quotedstring
A run-time parameter for the compiler. It is a quoted string that may
contain either the word "VERSION" or "version" and is used to display the
compiler and library VUF number.
NOTE
The formal file designators used in this command (RPGTEXT, RPGOBJ, 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 RPGXL command compiles an RPG/XL program and stores the object code in a file on
disk. If
textfile
is not specified, RPG/XL expects the source program to be entered from
your standard input ($STDIN). If you do not specify
listfile
, RPG/XL sends the listing to