Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

6.2.4.2 BY REFERENCE Phrase



If the BY REFERENCE phrase is either specified or implied for a parameter, the corresponding data item in the calling program occupies the same storage area as the data item in the called program.

identifier-2

X Can be a data item of any level in the Data Division. Identifier-2 cannot be a function identifier.

Note: If defined in the Linkage Section or File Section, you must have already provided addressability for identifier-2 prior to invocation of the CALL statement. You can do this by coding either one of the following: SET ADDRESS OF identifier-2 TO pointer or PROCEDURE/ENTRY USING.


X file-name-1 (OS/390 and VM Only)

X >_Host_> Under OS/390 and VM, a file-name for a QSAM file. See IBM
X COBOL for OS/390 & VM Programming Guide for details on using file-name
X with the CALL statement. <_Host_<


X ADDRESS OF Special Register

X For information on the ADDRESS OF special register, see "ADDRESS OF"
X in topic 1.1.3.1.


X OMITTED

X Indicates that no argument is passed.


Previous Topic Next Topic © Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.





Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS


Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.