× 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 agree that COBOL has some restrictions on naming etc but this

no support for passing parms to sub routines within a Cobol program.

Isn't one of them. There isn't any such support for RPG either - we use
subprocedures. The equivalent in COBOL is nested programs, and they take
parameters just as RPG subprocedures do.

Although COBOL limits the exporting of names (for reasons I don't
understand) it is actually more powerful in terms of public/global data etc.
than RPG. Within the context of one program - nested programs can
incorporate other nested programs (i.e. procedures having local procedures)
and can either share data with them or not at their discretion.

Another nice aspect of COBOL that hopefully we'll see in RPG shortly is the
ability to share files between programs (EXTERNAL files).

Jon Paris
Partner400

www.Partner400.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.