Hi,
I understand you can call an RDMLX function in the AS400 using a line like these:
LANSA REQUEST(X_RUN) PARTITION('DEX') X_RUNADPRM('PROC=ORDERX FUNC=CALC PRTR=*PATH')
now, how can you send parameters, user parameters, like EMPNO=A1234 in that line?
Using UDEF? Any other way to send larger information than 256 bytes?
thank you
Calling and RDMLX function in IBM and passing parameters
Re: Calling and RDMLX function in IBM and passing parameters
UDEF is the only way I've found.
BTW you also use
LANSA REQUEST(X_RUN) PARTITION('DEX') PROCESS(ORDERX) FUNCTION(CALC) X_RUNADPRM('PRTR=*PATH')
and X_RUNADPRM invoke the debugger thus
X_RUNADPRM('dbug=y dbht=myidepc:51234')
BTW you also use
LANSA REQUEST(X_RUN) PARTITION('DEX') PROCESS(ORDERX) FUNCTION(CALC) X_RUNADPRM('PRTR=*PATH')
and X_RUNADPRM invoke the debugger thus
X_RUNADPRM('dbug=y dbht=myidepc:51234')
-
caseywhite
- Posts: 192
- Joined: Thu May 26, 2016 1:17 am
Re: Calling and RDMLX function in IBM and passing parameters
You can also use LANSA REQUEST(RUN) to call an RDMLX but you would be limited to passing fields up to 256 characters in length. While the documentation below says M@EXCHL does not support RDMLX, it would seem to mean that you can't call the function using LANSA REQUEST(X_RUN).
https://docs.lansa.com/14/en/lansa015/c ... nge_c2.htm
https://docs.lansa.com/14/en/lansa015/c ... nge_c2.htm