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



Actually there is an exception - when you compile RPG with embedded SQL, you can't say *ALL - you say *SOURCE, and that is the same as *ALL - weird design decision IMHO.

Vern

On 8/24/2011 12:36 PM, Charles Wilt wrote:
David,

It's my understanding that while it's possible to decompile OPM RPG
III, it's basically not possible to do so with ILE RPG IV...

Charles

On Wed, Aug 24, 2011 at 1:15 PM, David Gibbs<david@xxxxxxxxxxxx> wrote:
On 8/24/2011 11:49 AM, ChadB@xxxxxxxxxxxxxxxxxxxx wrote:
A development manager here had read something about an enhancement in i 7.1
that supported retrieving RPG source code from program objects (if they
were compiled a certain way). I can't find the documentation now that he
read about it. Is anyone familiar with something of the sort, and if so,
could you point me towards some type of link to read more about it?
If you compile a program with the *SOURCE debug view you can access the source code listing ... but I don't think there is a way to extract that from the object (unlike the RTVCLSRC command).

You might be able to reconstruct the source if you did a DMPOBJ on the program and wrote a program to interpret the output.

There are 3rd party products that purport to be able to extract source from a program. I've never tried them though.

david

--
IBM i on Power - For when you can't afford to be out of business
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.