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
 
How to find a string in members of a PDS??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rgovindpurkar

New User


Joined: 13 Mar 2008
Posts: 7
Location: pune

PostPosted: Wed Apr 08, 2009 4:23 am    Post subject: How to find a string in members of a PDS??
Reply with quote

I am writing a jcl to find the occurence of a particular string in the members of a given PDS and list the names of the member that contain this string. How to do it? (String can be present at any position in the member).
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: East Dubuque, Illinois, USA

PostPosted: Wed Apr 08, 2009 4:44 am    Post subject:
Reply with quote

ISPF 3 and use the Find function; save the JCL so you can use it whenever you need it.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 08, 2009 4:47 am    Post subject:
Reply with quote

Hello,

You can get what you need using the SRCHFOR feature of SUPERC:
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/ISPUS200/APPENDIX1.1.6.35?

There are multiple topics in the forum you can use as examples.
Back to top
View user's profile Send private message
rgovindpurkar

New User


Joined: 13 Mar 2008
Posts: 7
Location: pune

PostPosted: Tue Apr 14, 2009 5:27 pm    Post subject:
Reply with quote

Thank you so much.......................
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
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