The XREF option provides a cross-reference table of names used in the program together with the numbers of the statements in which they are declared or referenced in the compiler listing.
.-NOXREF-----------------------. >>-+-XREF--+--------------------+-+---------------------------->< | .-FULL--. | +-(--+-SHORT-+--)----+ | .-IMPLICIT-. | '-(--+-EXPLICIT-+--)-'
ABBREVIATIONS: X, NX
The only names not included in the cross reference listing created when you use the XREF option are label references on END statements. For example, assume that statement number 20 in the procedure PROC1 is END PROC1;. In this situation, statement number 20 does not appear in the cross reference listing for PROC1.
If you specify both the XREF and ATTRIBUTES options, the two listings are combined. If there is a conflict between SHORT and FULL, the usage is determined by the last option specified. For example, ATTRIBUTES(SHORT) XREF(FULL) results in the FULL option for the combined listing.