View previous topic :: View next topic
|
Author |
Message |
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
Hello,
I want to search PDS members that include 2 given search string.
Anyway,
Seacrh members that include string "a" and string "b".
So I will find only members that include 2 different search string.
Is iti possible? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Yes, it is possible. |
|
Back to top |
|
|
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
Thaks you..
How can I achieve that?, is it possible with "ISRSUPC"? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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.
Click HERE to see that thread. |
|
Back to top |
|
|
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
Are there any ISRSUPC document? I couldn't find any.
Or have you JCL sample?
Thanks you very much. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Only documentation I have seen is PF1 for ISRSUPC.
Please reread my previous thread as I have edited it to include a link to the ISPF edit macro approach. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
|