|
Why the heck is RSLVDP not part of the C library? I no longer code MI but use C's MI function and built-in instead.
So call the MI builtin... the following should work. I don't know what practical purpose it solves, but it should work:
#pragma linkage ( _RSLVDP1, builtin ) void _RSLVDP1( void **ptr ); #pragma linkage ( _RSLVDP2, builtin ) void _RSLVDP2( void **ptr, char *varname ); #pragma linkage ( _RSLVDP3, builtin ) void _RSLVDP3( void **ptr, char *varname, _SYSPTR *activtion);
I don't see RSLVDP anywhere including being exported from the various *SRVPGM's where the rest of the MI set is exported.
The stuff you see in the service program are wrappers of MI functions in an attempt to make them easy to call from C programs. They've created these wrappers for only a handful of MI instructions.
They're not the actual MI instructions themselves. Any MI instruction that says it has "bound program access" can be called directly as a builtin, but it won't be listed as exported from the service program. MI instructions aren't routines in an ILE service program :)
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.