|
If MI may call ILE like this: DCL DD X BIN(4); DCL DD Y BIN(4); DCL OL A (X, Y) ARG; CALLX ?ILEPROGRAM, A, *; Pseudo-C code in the ILE PEP may do this: user_entry_proc( *( _OPM_PARM_ADDR( 1 )), *( _OPM_PARM_ADDR( 2 ))); Then pseudo-C code in the UEP may do this: void user_entry_proc( int X, int Y ) { } It may, but, the ILE front-ends won't! Instead, we get this (pseudo-C code) from CRTRPGMOD, CRTCMOD, etc: void user_entry_proc( int *X, int *Y) { } Why does IBM disallow direct, non-pointer parameters into ILE while the W-code allows it?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.