|
Hi, Steve: To answer your question, NO, ABSOLUTELY NOT!!! The "New MI" (NMI) is totally separate from the "original MI", just as the "Original Program Model" (OPM) is completely separate and distinct from the "Integrated Language Environment" (ILE). The "binary template" form of the OPM MI template that you get from QSCMATPG is exactly the same as what you get from the MATPG instruction, only it is returned as 80-byte "card images" in a physical file member (with RCDLEN(80)). The OPM MI template is preserved for "compatibility" with all the old programs that still use OPM, such as RPG/400, COBOL/400, etc. The "New MI" (or NMI) is NOT DOCUMENTED anywhere outside of IBM, and is considered by IBM to be "INTERNAL USE ONLY". All I was trying to say is, if you use OPM MI, then these are two rather useful APIs, and they should be documented somewhere. Regards, Mark S. Waterbury ----- Original Message ----- From: "Steve Richter" <srichter@AutoCoder.com> To: <MI400@midrange.com> Sent: Sunday, May 27, 2001 1:14 AM Subject: Re: QSCMATPG and QSCCRTPG > good find mark. > > I use the MATPG mi instruction to materialize a pgm. I guess that is the > same as QSCMATPG. The documentation for the materialize template layout > that I have is from the s/38 functional reference manual. ( of course, now I > cant find those pages ). > > Now QSccrtpg, do you think you can slip some nmi into the template and get > it to compile?? > > Steve > > -----Original Message----- > From: Mark S. Waterbury <mark_s_waterbury@yahoo.com> > To: MI400@midrange.com <MI400@midrange.com> > Date: Saturday, May 26, 2001 5:26 PM > Subject: QSCMATPG and QSCCRTPG > > > >Hello: > > > >Does anyone remember these two wonderful little APIs, > >QSCMATPG, and QSCCRTPG? The first one materializes the > >OPM MI binary template, and returns it as 80-byte card images in a > >"flat file". (From the name, it issues the MATPG MI instruction.) > > > >The second one, QSCCRTPG, reads 80-byte card images in a > >"flat file", and re-creates the *PGM object. (Again, from the name, > >this one issues the CRTPG instruction). > > > >However, they are not documented in the OS/400 Systems Programmers > >API Reference Manuals (for any releases that I could find). And yet, these > >have been "public" APIs for many years, perhaps all the way back to the > >System/38. > > > >Does anyone out there know why they are (still) not documented? Or, > >perhaps a better question might be, does anyone know how or where to > >obtain documentation of these routines? > > > >Go to http://www-1.ibm.com/support/ on the web, then type in > >either "QSCMATPG" or "QSCCRTPG" in the "Search" box, and > >click the "Go" button. You will get an interesting history of the > >"PTF wars" that resulted when IBM decided to remove these APIs > >from OS/400 in V2R3, and suddenly, a whole bunch of various vendor > >products stopped working, and many customers complained bitterly, etc. > > > >So, since these APIs have been "restored" to shipping with OS/400 in QSYS, > >why are they not documented anywhere? > > > >Thanks, > > > >Mark S. Waterbury > > > > > > > > > > > >_________________________________________________________ > >Do You Yahoo!? > >Get your free @yahoo.com address at http://mail.yahoo.com > > > >+--- > >| This is the MI Programmers Mailing List! > >| To submit a new message, send your mail to MI400@midrange.com. > >| To subscribe to this list send email to MI400-SUB@midrange.com. > >| To unsubscribe from this list send email to MI400-UNSUB@midrange.com. > >| Questions should be directed to the list owner/operator: dr2@cssas400.com > >+--- > > > > +--- > | This is the MI Programmers Mailing List! > | To submit a new message, send your mail to MI400@midrange.com. > | To subscribe to this list send email to MI400-SUB@midrange.com. > | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: dr2@cssas400.com > +--- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dr2@cssas400.com +---
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.