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

How to find a string in members of a PDS??


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Apr 08, 2009 4:44 am
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

Moderator Emeritus


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

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

Hello,

You can get what you need using the SRCHFOR feature of SUPERC:
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
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 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 Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
Search our Forums:

Back to Top