× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: "MI" of ILE programs
  • From: "Hans Boldt" <hboldt@xxxxxxxxxxxx>
  • Date: Tue, 30 Sep 97 09:39:53 EDT

Walden Leverich <walden@techsoftinc.com> wrote:
>Does anyone know if we can see the "MI" of ILE programs? In the OPM world
>we can specify *LIST on the CRTRPGPGM command and see the generated MI
>before it gets passed to the create program API. I know there is no MI in
>the ILE world, but is there a text representation of the p-code, or
>something MI-like that we can see? My guess is it would be on the CRTxxxMOD
>step, not the CRTPGM step, but I can make an argument either way.

Walden:  Although the OPM MI is a text based interface, the intermediate
language emitted by the ILE compilers (called W-Code) is a binary interface.
Internally, we have tools to convert that to text, but these tools are not
available to our customers.

W-Code back-ends have been targetted for a number of platforms, including
AS400, 370, and PCs.  W-Code is designed specifically as a compiler IL, and
not as a language that people can easily use. There are several advantages
to this approach.  One of them is that W-Code is a lot easier to optimize.
The most important advantage is that once a compiler has been written to
one platform, it can easily be ported to others.  For example, the ILE RPG
compiler was first targetted to the 370 platform to compile SAA RPG code.
Then, later enhanced to compile RPG IV and retargetted to the AS/400, and
then as VARPG on the PCs.

Hans Boldt, ILE RPG Development, IBM Toronto Lab, hboldt@vnet.ibm.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.