I want to search PDS members that include 2 given search string.
Seacrh members that include string "a" and string "b".
So I will find only members that include 2 different search string.
Joined: 14 Mar 2007 Posts: 8614 Location: Back in jolly old England
There is a FINDALL option in ISRSUPC but I think that is global rather than each individual member of a PDS.
It can be achieved by using an ISPF edit macro. Somewhere in the forum is a post by me that uses an ISPF macro to check for two conditions in a member and then according to the results will either add some lines or bypass the process.
The same logic can be applied here, if both FIND conditions give a return code of 0 then both string are in the member.