Hi,
We're having trouble with CLLE programs calling RPGLE. I thought the issue was about 1-byte parameter and having to either make the parameter 2-byte or add the ExtProc(*CL) to the RPGLE prototype declaration, but the programs are not passing or returning 1-byte parameters. I believe the problem may be coming from an OVRDBF in the CLLE before calling the RPGLE. If my understanding is correct, it must be the 1-byte fields of the OVRDBF'd file that cause the problem in the RPGLE?
Here's the relevant code (CLLE calling RPGLE) :
And the RPGLE :
Converting the CLLE to CLP works fine, so I'm convinced it has to do with the parameter passing differences that also cause the 1-byte parameter problem. Just to make sure, I tried the ExtProc method without success (still crashes with MCH3601).
Thanks.
We're having trouble with CLLE programs calling RPGLE. I thought the issue was about 1-byte parameter and having to either make the parameter 2-byte or add the ExtProc(*CL) to the RPGLE prototype declaration, but the programs are not passing or returning 1-byte parameters. I believe the problem may be coming from an OVRDBF in the CLLE before calling the RPGLE. If my understanding is correct, it must be the 1-byte fields of the OVRDBF'd file that cause the problem in the RPGLE?
Here's the relevant code (CLLE calling RPGLE) :
Code:
DCL &PARM1 *CHAR 30 OVRDBF FILE(FILE1) SHARE(*YES) CALL PGMà (&PARM1)
Code:
FFILE1 IF E K DISK D PARM1 DS D VAR1 1 1 D VAR2 2 4 0 D VAR3 5 7 D VAR4 8 8 D VAR5 9 30 C *ENTRY PLIST C PARM PARM1
Thanks.
Comment