1 4 2 Execute RDMLX function

LANSA for i

1.4.2 Execute RDMLX function

An RDMLX function may be executed on an IBM i by using either the LANSA command or by calling X_RUN.

LANSA command parameter

X_RUN parameter

PROCESS

PROC=

FUNCTION

FUNC=

PARTITION

PART=

LANGUAGE

LANG=

TASK_ID

TASK=

DATE_SRC

DATS=

BDEBUG

DBUG=

X_RUNADPRM

All other X_RUN parameters may be specified in the LANSA command parameter X_RUNADPRM. They must be specified in the X_RUN format (eg PRTR=*PATH)

 

 

Refer to Standard 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')