IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Searching PDS members which include 2 search string


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Tue Feb 24, 2009 5:34 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 24, 2009 5:43 pm
Reply with quote

Yes, it is possible.
Back to top
View user's profile Send private message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Tue Feb 24, 2009 5:45 pm
Reply with quote

Thaks you..

How can I achieve that?, is it possible with "ISRSUPC"?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 24, 2009 6:08 pm
Reply with quote

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
View user's profile Send private message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Tue Feb 24, 2009 6:11 pm
Reply with quote

Are there any ISRSUPC document? I couldn't find any.
Or have you JCL sample?
Thanks you very much.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Feb 24, 2009 6:13 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Feb 24, 2009 6:18 pm
Reply with quote

ozgurseyrek wrote:
Are there any ISRSUPC document? I couldn't find any.


A.0 Appendix A. SuperC reference from the z/OS V1R10.0 ISPF User's Guide Vol II.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top