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


Edit Search-For statements data set

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

A statements data set consists of process statements that contain instructions for the SuperC program. They are similar to the process options, but are composed of a keyword and one or more operands. See Select Search-For process options for information about Search-For process options.

When you select 1 from the Options menu on the Extended Search-For Utility panel, the Extended Search-For utility displays the statements data set you specified in the Statements Dsn field. This data set is always displayed in Edit mode, allowing you to add, change, or delete search-for process statements as needed.

The size of the Edit window depends on the number of lines your terminal can display. The sample panel shown in Figure 1 shows how the Edit window appears on a 24-line display. Examples of some common process statements are listed below the Edit window so you can easily compose the proper input line.

Figure 1. Search-For process statements panel (ISRSFPRS)
             USERID.SRCHFOR.STMTS                           Columns 00001 00072

    Enter or change Process Statements in the EDIT window below:
 ****** ***************************** Top of Data ******************************
 ''''''
 ''''''
 ''''''
 ''''''
 ''''''
 ''''''
 ''''''
 ''''''
 ****** **************************** Bottom of Data ****************************
    Examples                    Explanation
 SRCHFOR  'ABCD',W           Search for the word "ABCD"
 SRCHFORC 'DEFG'             "DEFG" must be on same line as word "ABCD"
 CMPCOLM  1:60  75:90        Search columns 1:60 and 75:90 for string(s)
 DPLINE 'PAGE ',87:95        Exclude line if "PAGE " found in columns 87:99
 DPLINE   'PAGE '            Exclude if "PAGE " found anywhere on line
 SELECT   MEM1,MEM2          Search only members MEM1 and MEM2 of PDS
                         - - - - -
 Command ===>                                                  Scroll ===> PAGE
  F1=Help      F2=Split     F3=Exit      F5=Rfind     F6=Rchange   F7=Up
  F8=Down      F9=Swap     F10=Left     F11=Right    F12=Cancel

The SuperC program validates the process statements at run time. Invalid process statements are not used and are noted at the bottom of the listing. Unless a higher return code is required by some other condition, a return code of 4 is returned.

For the syntax and examples of the Search-For process statements, see Process statements.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014