• Subject: Re:V3R7 RPGIV object code
  • From: Buck Calabro <mcalabro@xxxxxxxxxxxx>
  • Date: Wed, 21 Jan 1998 12:10:49 -0500

>Previously, (prior to V3R1 I think), I could request an IRP listing from the
>RPG compiler from which, when used in conjunction with a Service Tools
>program dump of the compiled program, I could determine the most
>MI/processor friendly (and optimal performance) way of coding a given
>routine. Under V3R7 with RPG IV, these insights appear to have been removed.
>Does anyone know how to get a view of the resultant MI/processor
>instructions with reference to the original RPGIV source statements ?

RPG IV uses the new ILE compiler (even if you use CRTBNDRPG with 
the default activation group.)  The ILE compiler calls an extensive
optimiser which can radically change the look of your MI code.  Since
the generated MI can be so radically re-arranged, there's no guarantee
that you *could* trace back from the MI to the original source.  If you're
desperate, you can DMPOBJ or DMPSYSOBJ and de-compile it, but 
the results aren't pretty...

There was a thread about this some time ago... Perhaps Jon Paris 
was the poster...  He may have a synopsis of that thread.  Bottom
line is that it's gone, probably for good.  RPGIII still allows the
IRP dump, even on V4R1...

Buck Calabro
Commsoft

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-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-2021 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.