From: Sivasubrahmanian Ananthakrishnan
> I'm looking for a sample program that uses call by reference. I have a
> array in PGMA that needs to be processed in PGMB. I would like to ignore
> calling the program with the array data itself as a parameter. Instead
> would like to use a pointer. If any of you have a sample program that
> will explain this functionality, it would be of great help. Please help
> with a sample program that uses call by reference

AFAIK, *all* parameters in COBOL are already passed by reference
by default, so it is not quite clear what your problem is...




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-2026 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.