cobol2.hlp (Table of Contents; Topic list)
COPYLIST Details (↑ Compiler Control)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The segment-number is the number of a COBOL segment. It must be in
     the range 50 through 99. If it is not specified, the contents of
     all COPY-files are listed. If it is specified, the contents of all
     COPY-files in the first three divisions (that is, the Identification,
     Environment and Data Divisions), the root, and the given segment
     are listed. An integer of 0 refers to the first three divisions
     and all root segments.
 
     NOCOPYLIST prevents the listing of the contents of any COPY-files.
     If a segment-number is specified with NOCOPYLIST, only COPY-files
     in that segment are listed. For example:
 
     COPYLIST "53"      List all COPY-files in the first three divisions,
                        the root segment, and segment 53.
 
     NOCOPYLIST "53"    List only COPY-files that are in segment 53.
 
     Whatever the state of this directive, the name of any COPY-file
     open when a page heading is output is given in that heading.
                                    -♦-