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.3 BY CONTENT Phrase



If the BY CONTENT phrase is specified or implied for a parameter, the called program cannot change the value of this parameter as referenced in the CALL statement's USING phrase, though the called program can change the value of the data item referenced by the corresponding data-name in the called program's Procedure Division header. Changes to the parameter in the called program do not affect the corresponding argument in the calling program.

identifier-3

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

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


X literal-2

X Can be:

  • X A nonnumeric literal
  • X A figurative constant (except ALL literal or NULL/NULLS)
  • X A DBCS literal
    
    

X LENGTH OF Special Register

X For information on the LENGTH OF special register, see "LENGTH OF" in
X topic 1.1.3.3.


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.


X For nonnumeric literals, the called subprogram should describe the
X parameter as PIC X(n) USAGE DISPLAY, where "n" is the number of characters
X in the literal.


X For DBCS literals, the called subprogram should describe the parameter as
X PIC G(n) USAGE DISPLAY-1, or PIC N(n) with implicit or explicit USAGE
X DISPLAY-1, where "n" is the length of the literal.

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.