Re: prototype MATINVE

Bruce Vining <[email protected]> Thu, 23 Aug 2007 17:37:04 -0700 (PDT)
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Gene,
   
  Looking at an implementation note, it appears that the ILE bound version of MATINVE, while unblocked, may only be valid in the PEP -- which would essentially mean that it can't be used within user written procedures.  I'm trying to confirm this and will let you know what I find out.
   
  One way or the other though, something needs to be done with the instructions documentation.  I'm also getting the MCH4227 rather consistently :-)
   
  Bruce Vining

Gene_Gaunt-GDFlLPZ4eRKEK/[email protected] wrote:
  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.


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