• Subject: Re: RPG II to RPG/400 conversion
  • From: "Rbbaird" <rbbaird@xxxxxxxxxxx>
  • Date: Sat, 08 Nov 1997 09:24:59 -0500
  • Organization: Premium Systems, Inc.

> 
> Are there any tools available that can help with the conversion
> of RPG II to RPG/400?  As I remember, it's not really a big
> deal to convert it manually.  Anything in particular to watch out
> for?
> 

there are (were?) plenty of tools available, but I can't recommend any-
the ones I saw, worked for the most part, but some really made ugly
code.  There are only a few things that need to be changed, and there is
an IBM manual that lists them.  

I saw one 36 to 400 converter that took these lines of code:

C  31 32N33         ADD  FIELD1    FIELD2
C  31 32N33         SUB  FIELD2    FIELD3
C  31 32N33         EXCPT

and converted them to this:

C          *IN31    IFEQ *ON
C          *IN32    IFEQ *ON
C          *IN33    IFEQ *OFF
C                   ADD  FIELD1    FIELD2
C                   END
C                   END 
C                   END
C          *IN31    IFEQ *ON
C          *IN32    IFEQ *ON
C          *IN33    IFEQ *OFF
C                   SUB  FIELD2    FIELD3
C                   END
C                   END 
C                   END
C          *IN31    IFEQ *ON
C          *IN32    IFEQ *ON
C          *IN33    IFEQ *OFF
C                   EXCPT
C                   END
C                   END 
C                   END

talk about UUUUHHHHHGLEEEEEEE!
this, in my humble opinion is MUCH worse than left hand indicators!!!!

regards, rick
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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-2020 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].