× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.