John - I AM refering to RPG iv, along with RPG/400.
I think it is odd that 30 years after COBOL '68, RPG still doesnt handle these basic constructs:
COBOL '68 supported the following (which are critical to structured code):
RPG IV supports none of these:
long field names (and be able to use them in calcs)
error trapping in free-format calcs (like EVAL x=y * z ON ERROR do something else)
move CORR to replicate data to fields of same name in other records (and the converse: unlike RPG, dont replicate the data if the programmer doesnt want to!)
I'm not saying to stop using RPG iv, I just think it is ironic when RPGers think a language that has more to offer is "old fashioned".
From: Jon.Paris@halinfo.it [mailto:Jon.Paris@halinfo.it]
Sent: Monday, November 29, 1999 2:45 PM
Subject: RE: Welcome new members
I love COBOL but .....
>> In another 10 years, RPG _might_ match COBOL 68 features if RPG
development continues at current pace.
You have to be talking about RPG/400 right - which hasn't been enhanced since
V2R2. RPG IV has many features that go way beyond the current COBOL
implementation on the 400 (ANSI '85). The vast majority of your other points are
also addressed to some degree by this version of RPG and more will be added.
I know of a number of shops doing new work in both COBOL and RPG - perhaps it is
different where you are.
| This is the COBOL/400 Mailing List!
| To submit a new message, send your mail to COBOL400-L@midrange.com.
| To subscribe to this list send email to COBOL400-L-SUB@midrange.com.
| To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: firstname.lastname@example.org
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact