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
 

 

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: 8057
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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
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


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