What's so different about the ILE architecture of COBOL vs RPG? RPG does
allow you to code subprocedures like function which is very cool. However,
you can still perform the same function by using 'CALL PROCEDURE'. My
recollection is that the structure of the program objects is the same.
I've written several programs to take advantage of this when I want to
hide internal procedures within a service program.

Michael Quigley

cobol400-l-bounces@xxxxxxxxxxxx wrote on 09/30/2009 01:00:12 PM:

----- Message from Simon Coulter <shc@xxxxxxxxxxxxxxxxx> on Wed, 30
Sep 2009 10:30:42 +1000 -----


COBOL Programming on the iSeries/AS400 <cobol400-l@xxxxxxxxxxxx>


Re: [COBOL400-L] Procedure equivalent in Cobol

. . .
. . .
. . .

Nope. COBOL's equivalent is nested programs--not quite the same thing
but close.

Simon Coulter.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by 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.