On a v5r4 system I have a CLLE program with
DCL &RC *CHAR 2
DCL &CALLER *CHAR 10
DCL &PARMS *CHAR 111
CALL PGM(OB0050AN) PARM(&RC &CALLER &PARMS)
And an SQLRPGLE program that has
d OB0050AN pi
d @RETURNCODE 2a
d @CALLER 10a
d ptrPARMS *
d @PARMS e ds extname(OB0050PR) based(ptrPARMS)
When I debug the SQLRPGLE program, I can see the values passed for
@RETURNCODE and @CALLER, but for ptrPARMS it shows SPP:*NULL.
What am I missing?