|
Is there still a CRTPGM "MI" instruction? The ODT (object definition template) was one of the pieces of the program template passed to the CRTPGM instruction - parameters used to create the program. CRTPGM validated the template then called #XLATE to convert the template into hardware instructions. Other pieces of the template included the OES (object extension specification) and the MI stream. The MI stream was a hex representation of the program that was created by the PRM (program resolution monitor, a rather pompous name for a fairly simple thing). The PRM started with a program named QPRPH01P and its kids. The PRM read IRP from a space object created by the language compilers, validated it, then generated the ODT, OES, MI stream, and some other bits. Phase 3 of the PRM (QPRPH03P) executed the CRTPGM instruction. IRP is the proper name for what we call MI today. It is strictly not MI but it is a more-convenient name for it. I can imagine that W-code would have its own set of limitations - stack size for example. And W-code is one of the steps to an executable program. If I recall correctly, it is part of the CUBE3 architecture. Glen Sakuth wrote the first version for AS/400. When he had it mostly done, he bragged that it was perfect and unbreakable. You might imagine the reaction from the rest of the Toronto lab. By the time it shipped, I am reliably informed that it was _thoroughly_ tested. (speaking for myself) -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On Behalf Of bmorris@ca.ibm.com Sent: Wednesday, January 10, 2001 8:30 AM To: RPG400-L@midrange.com Subject: RE: RPG and SQL Compilers >Date: Tue, 9 Jan 2001 17:22:19 -0600 >From: "Richard Jackson" <richardjackson@richardjackson.net> > >Ahhh, Jon. When the problem is encountered with RPG3, it is caused by the >number of ODT entries - the number of database, screen, etc fields in the >program. Those RPG3 JDE programs that blow the compiler have more fields >than will fit into the ODT - seems to me like the limit is 32k fields. But >this is a creature of the program template and I think that there are two >sizes. Are you saying that switching from IRP to W-code avoids the problem >or that using a program template that supports more than 32k fields avoids >the problem? I think that RPG4 uses the larger template version. Richard, using w-code brings a whole new set of limits (usually much harder to reach). w-code is a completely different architecture from MI. If you do a DSPMOD, you can see some of the limits. I imagine the "Dictionary mapping table" is sort of equivalent to the ODT, Barbara Morris +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.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.