z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


XREF search of file group for two strings

z/OS ISPF User's Guide Vol II
SC19-3628-00

XREF sorts the search string occurrences before producing a listing. The example shows a listing when both strings are found in the file group.
Figure 1. Example of XREF search on file group for two strings
1  ASMFSUPC   -     MVS FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- V1R6M0
   LINE-#    SOURCE LINES                   SRCH FN:  NEW1*    TESTCASE C


 ----- STRING="remove"           IN NEW1     TESTCASE C1 -----

       5  * * NEW: Use DPACMT to remove this assembler type comment.
       6  -- *NEW: Use DPADCMT to remove this line.

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

       5  * * NEW: Use DPACMT to remove this assembler type comment.
       6  -- *NEW: Use DPADCMT to remove this line.

 ----- STRING="rid"              IN NEW1     TESTCASE C1 -----

       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. *)

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

⋮

 THE FOLLOWING PROCESS STATEMENT(S) WERE PROCESSED:
    SRCHFOR   'remove'
    SRCHFOR   'rid'

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014