I always have a hard time with this myself.  It really
depends on what programming language your calling.
Check out the iSeriesNetwork COBOL forum (old News400)
and search for the word "address". Then choose the first
couple of posts by Mike Cravtiz, especially the one titled
"By Value v.s. By Content", its a little old but very

Here's the forum:

Here's a direct link to the post (but it may not work,
have sent an error report to the webmaster):

Good Luck,

> -----Original Message-----
> From: []
> Sent: Thursday, June 13, 2002 3:49 PM
> To:
> Subject: CALL BY xxxx ADDRESS OF?
> Looking at the CALL verb, I see ILE COBOL allows USING BY
> xxxx Identifier where xxxx can be REFERENCE, CONTENT or
> VALUE. I normally wouldn't have a big issue with that, but
> each of those allows the addition of ADDRESS OF between xxxx
> and Identifier.
> If I code:
>          CALL MyProg USING BY VALUE ADDRESS OF My-Variable
> how is that different from:
>          CALL MyProg USING BY VALUE My-Variable
> or:
> or any other variation???
> I don't see clear discussion in the manuals on this point. I
> thought I knew the difference between REFERENCE, CONTENT and
> VALUE; but is ADDRESS OF particularly meaningful for all of
> REFERENCE, CONTENT and VALUE? Is it different for each?
> Thanks for any insight.
> Tom Liotta
> --
> Tom Liotta
> The PowerTech Group, Inc.
> 19426 68th Avenue South
> Kent, WA 98032
> Phone  253-872-7788
> Fax    253-872-7904
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift
> ideas. Experience the convenience of buying online with
> Shop@Netscape!
> Get your own FREE, personal Netscape Mail account today at

This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email:
To subscribe, unsubscribe, or change list options,
or email:
Before posting, please take a moment to review the archives

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