Source lines section (XREF)

The XREF process option creates a cross-reference listing where the source lines are listed by search strings.

In Figure 1, lines which contain the string NEW in NEW1 TESTCASE C1 are listed first, then lines which contain the string NEW in NEW13 TESTCASE C1, then lines which contain the string USE in NEW1 TESTCASE C1, and finally those lines which contain the string USE in NEW13 TESTCASE C1.
Figure 1. Example of the XREF source lines section (with ANYC)
 1  ----- STRING="NEW"              IN NEW1     TESTCASE C1 -----

 2     1     This NEW file is FIXED 80 with Sequence Numbers
       2  /** NEW: To get rid of this PLI/REXX type comment, use DPPLCMT. */
       3  (** NEW: To get rid of this PASCAL type comment, use DPPSCMT. *)

⋮                                                                 . . .

 3  -----                           IN NEW13    TESTCASE C1 -----

 4     1     This NEW file is FIXED 80 with Sequence Numbers
       2  /** NEW: To get rid of this PLI/REXX type comment, use DPPLCMT. */
       3  (** NEW: To get rid of this PASCAL type comment, use DPPSCMT. *)

⋮                                                                 . . .

 5  ----- STRING="USE"              IN NEW1     TESTCASE C1 -----

 6     2  /** NEW: To get rid of this PLI/REXX type comment, use DPPLC
       3  (** NEW: To get rid of this PASCAL type comment, use DPPSCMT. *)
       4  ! * NEW: Use DPPDCMT for this comment.

⋮                                                                 . . .

 7  -----                           IN NEW13    TESTCASE C1 -----

 8     2  /** NEW: To get rid of this PLI/REXX type comment, use DPPLC
       3  (** NEW: To get rid of this PASCAL type comment, use DPPSCMT. *)
       4  ! * NEW: Use DPPDCMT for this comment.

⋮                                                                 . . .
 1 
Sub-section line showing string NEW and file NEW1 TESTCASE C1.
 2 
Line number and text of line where string was found.
 3 
Sub-section line showing file NEW13 TESTCASE C1 (string is still NEW).
 4 
Line number and text of line where string was found.
 5 
Sub-section line showing string USE and file NEW1 TESTCASE C1.
 6 
Line number and text of line where string was found.
 7 
Sub-section line showing file NEW13 TESTCASE C1 (string is still USE).
 8 
Line number and text of line where string was found.