MPE/iX Commands Reference Manual (32650-90877)

448 Chapter11
Command List IX
Commands RECALL/=RECALL thru RUN
Examples
The following example compiles and links an RPG/XL program entered through your
standard input device and stores the linked program in the file $OLDPASS. The listing is
printed on your standard list device.
RPGXLLK
To compile and link an RPG/XL source program from the source file RPGSRC, store it in
RPGPROG, and send the listing to your standard list device, enter:
RPGXLLK RPGSRC,RPGPROG
Related Information
Commands RPGXL, RPGXLGO
Manuals HP RPG/XL Programmer's Guide
HP RPG/XL Reference Manual
HP RPG Utilities Reference Manual
RUN
Executes a prepared or linked program. (Native Mode)
Syntax
The only required parameter is progfile. If you specify any other parameters, they will
override the default parameters that the creator of the program established, but only for
that particular execution of the program. If run is
implied
, see operation note below.
RUN
progfile
[,["]
entrypoint
["]]
[;NOPRIV] [;LMAP] [;DEBUG] [;MAXDATA=
maxstack
] [;PARM=
parameternum
]
[;STACK=
stacksize
] [;DL=
dlsize
] [;NMSTACK=
nmstacksize
]
[;NMHEAP=
nmheapsize
]
[;LIB= { G P S} ] [;XL="
library
[, ...]"] [;NOCB]
[;INFO="
quotedstring
"] [;UNSAT=["]
unsatproc
["]]
[;STDIN=[{
*formaldesigfileref
$NULL} ]]
[;STDLIST=[{
*formaldesigfileref
[,NEW][$NULL]} ]]
[;PRI={ BSCSDSES} {#}]
Parameters
progfile The name of the program file to be executed. If the name is not fully
qualified, it is given a full qualification consistent with the current job
domain. The file may be redirected with a file equation.
entrypoint Program entry point where execution is to begin. It contains a character
string specifying the entry point (label) in the program where execution is
to begin when the program is executed. This point may be the primary
entry point of the program, or any secondary entry point in the program's
outer block. Default is the primary entry point.
By default, MPE/iX shifts all alphabetic characters in entrypoint to
uppercase; surrounding the parameter with quotation marks (" or ')