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