|
Terry: This might be worth enough to me that I break down and create a member profile... I've avoided that so far. Thanks for what might be the _only_ significant source of info on this. Tom Liotta Winchester Terry <terry.winchester@raymondcorp.com> wrote: >Tom, > >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 >informative. > >Here's the forum: >http://www.iseriesnetwork.com/Forums/Index.cfm?OCFI=825807&OCFT=62624683&CFA >pp=19& > >Here's a direct link to the post (but it may not work, >have sent an error report to the webmaster): >http://www.iseriesnetwork.com/Forums/Search_Results.cfm?CFApp=19#Message5108 >7 > >Good Luck, >Terry > >> -----Original Message----- >> From: qsrvbas@netscape.net [mailto:qsrvbas@netscape.net] >> Sent: Thursday, June 13, 2002 3:49 PM >> To: cobol400-l@midrange.com >> 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: >> >> CALL MyProg USING BY REFERENCE ADDRESS OF My-Variable >> >> 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 The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
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.