22.214.171.124 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
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
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 126.96.36.199.
X ADDRESS OF Special Register
X For information on the ADDRESS OF special register, see "ADDRESS OF"
X in topic 188.8.131.52.
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.
© Copyright IBM Corp. 1991, 1998
IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.
Return to library:
IBM Hardware |
IBM System z Redbooks
How to order publications
Download IBM Library Reader |
Download IBM Softcopy Reader |
Download Adobe® Acrobat® Reader®
Download IBM Softcopy Librarian
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks
of Adobe Systems incorporated.