|
On 18-Jun-08, at 2:13 PM, rpg400-l-request@xxxxxxxxxxxx wrote:
COBOL is inferior to RPG because you cant modularize your code with
parameters on a perform statement.
So? Totally irrelevant to the statement. COBOL is still around even
though it was declared dead years ago.
It is also totally untrue. Or rather it is only true as Steve has
chosen phrase the point. A READ in COBOL doesn't let you modularize
your code either - and that's only marginally less relevant than
saying PERFORM doesn't. Whatever Steve might think, for good or evil,
the lords of COBOL decided to extend the use of the CALL operations
for such tasks - not PERFORM. The equivalent in COBOL of a self-
contained RPG subprocedure (for example) is a nested program. And
that can have its own storage, use parms, etc. etc.
As an Amazon Associate we earn from qualifying purchases.
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.