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



Hi Dave

Have you tried to run DMPOBJ on a program created from totally-free source and a longer record length - the SPLF output from that command wraps stuff, anyhow, showing either 16 or 32 characters per line - I'd expect it to wrap whatever you have, and there might even be something in the dump giving a row length - I don;t know about that.

Interesting!

Vern

On 4/21/2017 10:38 AM, dlclark@xxxxxxxxxxxxxxxx wrote:
Note, this isn't about RPG so much as it is about a tool to
retrieve RPGLE source from an RPG program or service program. So, that is
why it is in this list. I hope that is correct. ;-) At any rate...
I've seen two different free utilities on the Internet for retrieving
RPGLE source based on the DEBUG listing being included in the program
object.

One method uses iNav for a cut and paste of the listing source,
but I recently found that I couldn't get more than 10,000 lines via that
method and my program object had about 27,000 lines in it because of large
copybooks. Thus, I went looking and found a second method (by Jim
Friedman) that dumps the program object to a spool file and then parses
out the source from a work file where the spool file is then copied. When
I tried that method I found that it didn't work for service programs so I
had to modify it to get it to work.

Then I thought about the recent enhancement for totally-free RPG
where some people might create an RPG source file with a record length
greater than 100 characters. Now I wonder if anybody knows of a free
utility for retrieving RPGLE source that will work with both standalone
RPG programs, RPG service programs, *and* totally-free RPG? Thanks for
any responses.

Sincerely,

Dave Clark


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.