View previous topic :: View next topic
|
Author |
Message |
Vidusha
New User
Joined: 01 Feb 2006 Posts: 20 Location: Chennai
|
|
|
|
Hi,
I want to search number of occurences of a string in n number of datasets
Say i have n sequential datasets as below
ABCD.D140607.DSN1
ABCD.D140607.DSN2
ABCD.D140607.DSN3
...
ABCD.D140607.DSNn
I want search a string 123456 in all these datasets.
My output should have number of occurences of the string in each dataset
eg.
ABCD.D140607.DSN1 5 (no of occurences)
ABCD.D140607.DSN2 4
ABCD.D140607.DSN3 1
...
ABCD.D140607.DSNn
How to go about for this?
Thanks
Vidusha |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Start with SUPERC, then process the results using REXX.
O. |
|
Back to top |
|
|
Vidusha
New User
Joined: 01 Feb 2006 Posts: 20 Location: Chennai
|
|
|
|
I have never used REXX.
Could you please provide the steps to achieve this..
Or is there anyway to find this without using REXX
Thanks
Vidusha |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Well, you can always process the results of SUPERC in COBOL...
O. |
|
Back to top |
|
|
|