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



On a similar note, we use the RTVSRC tool by Chris Stead when we've "misplaced" source code in a test library. It has been a life saver on more than one occasion.

Here's where to get the tool: http://www.pentontech.com/IBMContent/Documents/article/54224_179_RtvSrc.zip




-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Blake.Moorcroft@xxxxxxxxxx
Sent: Wednesday, August 24, 2011 1:06 PM
To: Midrange Systems Technical Discussion
Subject: Re: Retreiving RPG source at version 7.1

Hello all...

There was a bit of code done up by J.R. Friedman, listed at the site below, that permits the retrieval of RPG ILE source, assuming a create bind command with *LIST on the debug view parm.

http://search400.techtarget.com/tip/How-to-retrieve-the-RPGLE-source

We have it here for use in emergency and have used it once or twice. Works well. The article details were first published in February, 2004.


Have a good day.


Blake Moorcroft
Analyst/Programmer - Corporate
Russell A. Farrow Limited
2001 Huron Church Road, PO Box 333, Windsor, Ontario N9A 2L6
Bus: 519-966-3003 ext. 566
blake.moorcroft@xxxxxxxxxx




Charles Wilt <charles.wilt@xxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
08/24/2011 01:36 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: Retreiving RPG source at version 7.1






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.