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

SEARCH strings in PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maggiebms

New User


Joined: 23 May 2005
Posts: 16

PostPosted: Mon Nov 29, 2010 2:51 pm
Reply with quote

Hi All,
My requirement is to search all strings available in PS to be searched in a list of PDS.

For example:

PS contains - n number of entries to be searched
PDS - List of members which may/may not contain the string to be searched.

My Question is:
How to specify the SRCHFOR command in JCL to pull the input strings from PS to search?

Thanks in advance!

Maggie. J
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Nov 29, 2010 3:01 pm
Reply with quote

Once you have run a job from 3.14 in batch mode, you can keep the JCL and tailor it for use as and when you need it.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Nov 29, 2010 3:19 pm
Reply with quote

unless the 'search strings' are greater than 61 characters,
it is very easy to edit (or even write a rexx) the PS,
encapsulate the search string with "SRCHFOR '" search string "'"
and provide the ps a the SYSIN DD.
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 Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts first column truncated in search result IBM Tools 13
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts To search DB2 table based on Conditio... DB2 1
Search our Forums:

Back to Top