Search List: Get a member list instead
of a SuperC Listing

Author: Jim Narramore
Published here with the kind permission of the author.
If you like it (I do), please send Jim a note of thanks.

Search List is a slick little program that provides a member list of members containing your search string(s) whenever you use SuperC option 3.14 or whenever you view or edit an existing SuperC listing.  This is similar to my SCANPDS edit macro except that it runs any time you use option 3.14 and use a listing data set name that ends in .@

Search List is available as source code.  This source should be saved in a Rexx member called SRCHLIST.

To save the source code using Netscape or Internet Explorer, select the link above with the right mouse button and select 'Save Link As...' or Save Target as...'


 

Jim's original documentation is available here:

ISPF Search-For Utility (3.14) Enhancement

SRCHLIST is an ISPF system enhancement that extends the functionality of the ISPF Search-For Utility (ISPF Option 3.14).When SRCHLIST is active, a member list is created and displayed containing only those members of the searched library that contain the specified search string(s). From the member list, the following line commands are available:

S   Display the member under ISPF Edit, with all lines excluded except those containing one or more of the search string(s).
E   Display the member under ISPF Edit
V   Display the member under ISPF View
B   Display the member under ISPF Browse

Entering a ‘?’ at the command line of the member list will display the original Search-For report that was generated by ISPF.

To initialize SRCHLIST, got to the ISPF Primary Option Menu and enter ‘TSO SRCHLIST ON’. This only has to be done once, it will be retained when you log off of ISPF. The following message will be displayed:

        .------------------------------------------------------------------------------.
        | The Search-For Utility (ISPF 3.14) will now display a member selection list  |
        | of search results whenever the Low Level Qualifier (LLQ) of the Listing Data |
        | Set name specified is '@'                                                    |
        '------------------------------------------------------------------------------' 

Next, go to ISPF option 3.14 to invoke the Search-For Utility.

Enter the Search String(s), Library Name, etc. as usual to start a search.

Make sure that both the Execution Mode and Output Mode fields are set to ‘1’.

For the Listing Data Set, enter any data set name you would like, as long as the last two characters of the name are ‘.@’

Press Enter to start the Search.

When the search completes, a selection list containing the members found to contain the string(s) is presented.

An additional feature of SRCHLIST is that, after a Listing Data Set with a name ending in ‘.@’ is created, anytime the user displays the data set under Edit or View (using ISPF Option 3.4, as an example), SRCHLIST will again create a member selection list.

Contact Jim Narramore at jim.narramore@bankofamerica.com or narramor@swbell.net with questions concerning SRCHLIST.


One additional note (not part of Jim's documentation):  SuperC has several listing formats and SRCHLIST does not support all of them.  For example, if you have the IDPFX process option active, SRCHLIST will not recognize the generated listing format.  If SRCHLIST does not seem to do anything, please try using the default SuperC search options.