COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

Any program that has described an external file connector can refer to that file connector.
If program G is contained within program H, both programs can refer to a common file
connector. They do so by referring to an associated global file-name (or associated global
record-name, in the case of the WRITE and REWRITE statements) described in either:
The containing program H
Any program that directly or indirectly contains H
If several programs define a file connector as external (causing its storage location to be a single
location outside all programs) and they also define the file connector as having a global name,
then all such programs and all programs nested within each of them have access to the file
connector.
58 Source Program Organization and Format