× 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 remember CVTRPGSRC just leaving things that did not convert in a C spec line. It never failed. A lot of /FREE, /END-FREE Back when we converted.

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Friday, October 06, 2017 2:57 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Maintaining old RPG 2 or 3 code on RDi

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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.c
om_mailman_listinfo_wdsci-2Dl&d=DwIGaQ&c=S6jE3hMA0s16gx2_CUBBn4vjc1od
LunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=CUToA
D-xZxo2fNaE6sT6OWQOiwg7yb11sVkDdSuCljo&s=F9Nx1Qupa66HtNS_gue759KNcyuV
imoKyLGCNf-nPF8&e= or email: WDSCI-L-request@xxxxxxxxxxxx Before
posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIGaQ&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=CUToAD-xZxo2fNaE6sT6OWQOiwg7yb11sVkDdSuCljo&s=SGv3G0njeWG4EIVNvoWluP1OsThxNwydo6db3lMq4vs&e=.



--
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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwIGaQ&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=CUToAD-xZxo2fNaE6sT6OWQOiwg7yb11sVkDdSuCljo&s=F9Nx1Qupa66HtNS_gue759KNcyuVimoKyLGCNf-nPF8&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIGaQ&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=CUToAD-xZxo2fNaE6sT6OWQOiwg7yb11sVkDdSuCljo&s=SGv3G0njeWG4EIVNvoWluP1OsThxNwydo6db3lMq4vs&e=.

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.