I know how to call a PL/1 prom a loadlib, eg.
address tso
"call 'MY.LOADLIB(TEST)' '/"parm"'"
"call 'MY.LOADLIB(TEST)' '/"parm"'"
and read the result from a file that was written by the PL/1-module.
But how do I invoke a call to a PL/1-funktion?
PL1FCT: PROC(PRM) RETURNS(CHAR(10));
DCL PRM CHAR(255);
DCL RES CHAR(10) INIT('');
/* do something */
RETURN(RES);
END PL1FCT;
DCL PRM CHAR(255);
DCL RES CHAR(10) INIT('');
/* do something */
RETURN(RES);
END PL1FCT;
How does the call to PL1FCT from REXX has to look like?
I want to store the result in a rexx variable.
lc