> How do you want to see the results? For instance, open the PDS using
> ISPF/Edit or View and then type "SRCHFOR string" where string is what
you
> want to find, then hit ENTER. The resulting scan will place "*Found"
in the
> prompt column. Place your cursor on the Column header, "Prompt" and
press
> enter. This will bring all members to the "top" that contain the
string. Go
> to the last member which has "*Found" beside it and starting with the
next
> member, you have a list of members that do not contain the string.

... and if you need the list in machine readable format, use the SAVE
ISPF
command. This saves the list in your ISPF LIST dataset, in the order it
is
displayed. Unfortunately, the "Prompt" columns is not saved, so you have
to remember the name of the first member not containing the string.

As an alternative you could first create a new member with a name that 
will be guaranteed to be sorted at the top (e.g. $) and make sure it 
does *not* contain the string (an empty member wiil do). It will then, 
after the sort in Prompt order, be the one that starts the list of
members 
w/o the string.

--
Peter Hunkeler
Credit Suisse

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to