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



I thought he was talking about RPG II, not RPG IV or, even, III. There is no DBGVIEW or such compile option for RPG II. The only way that I have found to debug our old RPG II programs is to use the ol' DEBUG opcode. So this does not appear to be an option here.


That being said, there used to be companies that had utilities to retrieve RPG source. I cannot, however, recall the names. I thought that Softlanding had a tool that our consulting firm used during Y2K, but I didn't see anything on their web site. Must have been someone else. But the tool does (did) exist.


As for the CL, the RTVCLSRC command should be able to retrieve / recreate the source. I don't know if there's anything special about the way the CL is compiled that affects its operational abilities, and it may not be able to do CLLE's. But, really, who is going to write a CLLE if he's still using RPG II?!



        * Jerry C. Adams
*iSeries Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
        615.893.8633x152
fax
        615.995.1201
email
        jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



michael@xxxxxxxxxxxxxxxxxx wrote:

Good point, unless the programs were compiled with DBGVIEW(*LIST). Then
I believe a copy of the source is stored in the program object. /COPY's
can be expanded too, depending on the compiler options.

-------- Original Message --------
Subject: Re: I seek overall advice.
From: david.kahn@xxxxxxxxxxxxxxxxx
Date: Thu, December 22, 2005 6:08 am
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>

Michael Ryan <michael@xxxxxxxxxxxxxxxxxx> wrote:

The missing/unknown source is a tough one. You might be able to
put the programs in debug and read the code and try and match it
up.
That's not really going to help. The source debugger works by reading the
source member. It doesn't re-create the source from the program object. For
all practical purposes the programs that do not have source should be
regarded as permanently frozen.

--
Dave...


______________________________________________________________________
This message may contain confidential information which may also be legally 
privileged and is intended only for the use of the parties to whom it is 
addressed. If you are not an intended recipient you are hereby notified that 
any disclosure, copying, distribution or use of any information in this e-mail 
is strictly prohibited. If you receive this message in error please notify the 
sender by return e-mail and then destroy it. Further, we make every endeavour 
to keep our network free from viruses. However, you do need to verify that this 
e-mail and any attachments are free of viruses as we can take no responsibility 
for any computer viruses which might be transferred by way of this e-mail. All 
information and attachments remain the property of Stolt Offshore Group and 
should be held as confidential.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.