An RDMLX function may be executed on an IBM i by using either the LANSA command or by calling X_RUN.
|
Refer to X_RUN Parameters in the Technical Reference Guide for details of X_RUN parameters.
Examples
Command to execute RDMLX function CALC in process ORDERX in partition DEX:
LANSA X_RUN PROCESS(ORDERX) FUNCTION(CALC) PARTITION(DEX)
This is equivalent to:
CALL X_RUN PARM('PROC=ORDERX FUNC=CALC PART=DEX')
To specify additional parameters:
LANSA X_RUN PROCESS(ORDERX) FUNCTION(CALC) PARTITION(DEX) X_RUNADPRM(PRTR=*PATH)
This is equivalent to:
LANSA REQUEST(X_RUN) PARTITION('DEX') X_RUNADPRM('PROC=ORDERX FUNC=CALC PRTR=*PATH')