Re: prototype MATINVE

Bryan Dietz <[email protected]> Thu, 23 Aug 2007 16:38:03 -0400
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Does the following MI example help??

 From here:
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/apis/apiexcreind.htm

MATINVE RTN_NOOBJECT_ADDR,*,X'03'; /* MATERIALIZE THIS PROGRAM'S  */
                                      /* INVOCATION ENTRY IN THE     */
                                      /* PASA.  THIS ENTRY IS USED   */
                                      /* WHEN RETURNING FROM THE     */
                                      /* EXCEPTION HANDLER BELOW.    */

Gene_Gaunt-GDFlLPZ4eRKEK/[email protected] said the following on 8/23/2007 3:00 PM:
> What's the correct C prototype for MATINVE?
> 
> I tried the following but get MCH4227, "Instruction stream not valid."
> 
> char *p;
> #pragma linkage (_MATINVE, builtin)
> void _MATINVE (char*, unsigned);
> 
> _MATINVE( p, 1 );
> 
_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.