Data items defined in the linkage section of the
called program or invoked method can be referenced within the procedure division of that
program if and only if they satisfy one of the following conditions:
- They are operands of the USING phrase of the procedure division header or the ENTRY
statement.
- They are operands of SET ADDRESS OF, CALL ... BY REFERENCE ADDRESS OF, or INVOKE ...
BY REFERENCE ADDRESS OF.
- They are defined with a REDEFINES or RENAMES clause, the object of which satisfies
the above conditions.
- They are items subordinate to any item that satisfies the condition in the rules
above.
- They are condition-names or index-names associated with data items that satisfy any
of the above conditions.