Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Searching PDS members which include 2 search string

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Searching PDS members which include 2 search string
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 24, 2009 5:43 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 24, 2009 6:08 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 24, 2009 6:13 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Feb 24, 2009 6:18 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us