Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 4648
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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us