View previous topic :: View next topic
|
Author |
Message |
Yogi123
New User
Joined: 11 Aug 2009 Posts: 3 Location: Chennai, India
|
|
|
|
Hi ...
I have following requirement :
1. REXX program should take follwing inputs from user
a) Loadlib name b)member list c) string to be found out
2. Then it should search for that string in specified members.
3. A report should be generated to with member names in which string found & member names in which string is not found.
Can anybody guide in this regard.... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
what is wrong in using ISPF searchfor ???
why write tools for something that is already available ??? |
|
Back to top |
|
|
Yogi123
New User
Joined: 11 Aug 2009 Posts: 3 Location: Chennai, India
|
|
|
|
Hi....
ISPF searchfor can be used,
but I want report for all members for which string is NOT found also....that we dont get in ISPF searchfor .
I would be having some more than 400 members in the PDS, so it is not possible to check manually in the report generated from searchfor utility
Can we somehow capture o/p from searchfor utility & create a report ? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
yes |
|
Back to top |
|
|
Yogi123
New User
Joined: 11 Aug 2009 Posts: 3 Location: Chennai, India
|
|
|
|
Can u plz tell me how can we custamise the o/p of searchfor utility...?
Do we need to run utility in background / foreground ...?
It would be gr8, if u put a sample code for this..... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
1) Please use the correct English language and not childish text-talk
2) Please DO NOT ask for code without offering your own for comment / correction.
Going on what Enrico has mentioned, using searchfor you can find the members with the string, so by simply listing the directory of all of the PDS members (Many examples in the REXX forum) you can cross reference them and remove those with the string leaving only those without.
Please feel free to post any problems encountered with YOUR code.
However code will be readily available upon receipt of my current daily rate - 750 euro. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
the srchfor command is nothing more than superc (isrsupc). See the ispf manuals for that info or search the web for examples. the listing lists both found and not-found members |
|
Back to top |
|
|
|