LINKAGE SECTION

The LINKAGE SECTION describes data made available from another program or method.

record-description-entry
See WORKING-STORAGE SECTION for a description.
data-item-description-entry
See WORKING-STORAGE SECTION for a description.

Record description entries and data item description entries in the LINKAGE SECTION provide names and descriptions, but storage within the program or method is not reserved because the data area exists elsewhere.

Start of changeAny data description clause, except for the EXTERNAL clause, can be used to describe items in the LINKAGE SECTION.End of change

You can specify the GLOBAL clause in the LINKAGE SECTION. The GLOBAL clause has no effect for methods, however.