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



DEBUG - yea - well - let's just say that many better options had been added over the years. Personally I wanted to throw out GOTO too but I lost that battle!

As to Auto Report - we couldn't find anyone actually using it for real. In all the cases we studied it was simply being used to allow more than one spec type to be incorporated in a single /COPY member.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Oct 6, 2017, at 3:56 PM, Charles Wilt <charles.wilt@xxxxxxxxx> wrote:

DEBUG is another...

DEBUG (Debug Function)
The DEBUG operation helps the programmer debug a program that is not working
properly. One or more records containing information helpful for finding
programming
errors are written as a result of this operation. You can use the DEBUG
operation
independently of or in combination with the OS/4ðð testing and debugging
functions


Lastly, RPG "auto report" programs , member type RPT or RPT38, compiled
with Create Auto Report RPG Program (CRTRPTPGM)...

Don't have a RPGIV equivalent.

Charles


On Fri, Oct 6, 2017 at 1:50 PM, Charles Wilt <charles.wilt@xxxxxxxxx> wrote:

There's at least one op-code in RPGIII

FREE (Deactivate a Program)
The FREE operation removes a program from the list of activated programs,
frees
static storage, and ensures program initialization (first cycle
processing) the next
time the program is called. It does not close files or unlock data areas.

That doesn't have an RPG IV version...thus CVTRPGSRC fails...

That's the only one I remember off the top of my head...

Charles


On Fri, Oct 6, 2017 at 12:43 PM, Dan <dan27649@xxxxxxxxx> wrote:

On Fri, Oct 6, 2017 at 2:29 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

Unless you happen to be using one of the few op-codes that don't
convert,
there's little excuse not to convert. And if you do use one of those
non-converting op-codes...you're probably using it wrong anyway ;)


I was pretty certain that any valid RPG-III code would always convert to
compilable RPG-IV code using CVTRPGSRC. But, it's been so long since I've
had to deal with that, I'm not sure. I know that /free calcs obsoleted
some of the obscure opcodes, but a plain vanilla conversion using
CVTRPGSRC
should always convert to compilable code.

- Dan
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.



--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-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.