We need to use ----- to get a sorted cross-reference listing
-
(a) XNOX
-
(b) XREFER
-
(c) XSCR
-
(d) XREF
XREF (Cross-Reference) is the standard utility for generating cross-reference listings in mainframe/COBOL environments. It produces listings showing where variables, paragraphs, and other elements are used throughout a program. Options XNOX, XREFER, and XSCR are not standard mainframe utilities for this purpose.
To get a sorted cross-reference listing, we need to use the utility program called XREF.
Let's go through each option to understand why it is correct or incorrect:
Option A) (a) XNOX - This option is incorrect because XNOX is not the correct utility program for a cross-reference listing.
Option B) (b) XREFER - This option is incorrect because XREFER is not the correct utility program for a cross-reference listing.
Option C) (c) XSCR - This option is incorrect because XSCR is not the correct utility program for a cross-reference listing.
Option D) (d) XREF - This option is correct because XREF is the utility program that is used to get a sorted cross-reference listing.
The correct answer is Option D. This option is correct because XREF is the utility program that is specifically designed to generate a sorted cross-reference listing.