View previous topic :: View next topic
|
Author |
Message |
maggiebms
New User
Joined: 23 May 2005 Posts: 16
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
|