View previous topic :: View next topic
|
Author |
Message |
richardmf
New User
Joined: 06 Apr 2006 Posts: 3
|
|
|
|
Hi,
I have a requirement to search for a particular string in more than 1 data file.
i.e. the user would input the file name with wild cards and the output should be the filenames in which the strings were found.
e.g. Input filename: A.B.C**.D* - This might give a list of more than one filename
In these files, I need to search for the string "30" at position 1-2.
The final output would be a list of filenames in which the search string was found and the list would be displayed to the user.
Is there any tool available that would get this done?
If not how should I proceed to get this done?
Thanks in advance.
Richard |
|
Back to top |
|
|
askmf
New User
Joined: 08 Feb 2006 Posts: 2 Location: Mysore
|
|
|
|
hi,
you can do through sort utility
and also from ispf menu i.e.3.14 option |
|
Back to top |
|
|
richardmf
New User
Joined: 06 Apr 2006 Posts: 3
|
|
|
|
I had tried thru 3.14 for a single data file but it is not possible to give the position at where to search the string.
could you please let me know the details steps to follow for DSN with wildcards . |
|
Back to top |
|
|
steve
New User
Joined: 24 Mar 2005 Posts: 16 Location: Long Island
|
|
|
|
If u have more than one data set (with similar attributes), u can do a DD Concatenation in 3.15. For doing this.. go to Search-ForE. Press Enter without giving any value to "Search DS Name . .". Then u can see search Concatenation window, which prompts u to enter the Ds names (max 4). This is not a perfect soln for u qn.. but hope it helps u some extent..
Steve- |
|
Back to top |
|
|
|