XREFOPT
XREFOPT sets the default value for the XREF compiler option, which affects the amount of cross-reference information produced in listings.
- Default
- XREFOPT=FULL
- FULL
- Produces a sorted cross-reference of the names used in the program, and indicates the lines where the names are defined. Also produces a COPY/BASIS cross-reference. If SOURCE=YES is also specified, embedded cross-reference information is printed on the same lines as the source.
- SHORT
- Produces a sorted listing of only the explicitly referenced variables, and produces a COPY/BASIS cross-reference.
- NO
- Suppresses the cross-reference listings.
Note:
- XREFOPT=NO conflicts with values of DBCSXREF other than NO.
- It is recommended that you not change the default to XREFOPT=NO. If XREFOPT=NO, the COPY/BASIS cross-reference might in some cases be incomplete or missing.
For further details, see XREF in the Enterprise COBOL Programming Guide.