View previous topic :: View next topic
|
Author |
Message |
vinayknj
New User
Joined: 26 May 2008 Posts: 50 Location: Bangalore
|
|
|
|
Hi,
I want to search for a STRING in a PDS which has around 200 members using REXX. I know I can do this using 3.15 Search option but I am writing a Rexx tool to display all the programs in which this particular string is found.
Please suggest me how to read a PDS one member after another member? Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
tell US for what reason we should waste out time in thinking on how to reinvent the wheel
How to read a PDS member has been debated too many times, just search the forums! |
|
Back to top |
|
|
vinayknj
New User
Joined: 26 May 2008 Posts: 50 Location: Bangalore
|
|
|
|
I am sorry if these are repeated queries.
I know how to read a PDS member by giving member name. But in my case I want to read all the members in a PDS one after another. I am not sure if this can be done through Rexx.
Thanks,
Vinay Kumar N.J |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
vinayknj wrote: |
I want to search for a STRING in a PDS which has around 200 members using REXX. I know I can do this using 3.15 Search option but I am writing a Rexx tool to display all the programs in which this particular string is found. |
Why on earth are you writing a tool for something that already exists ? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
well there are two ways to go about this:
1. invoke superc from rexx, parse the output
2. learn the lmm... routines contained in the ISPF services manual,
(of which there are about 2000000000000000 threads).
[Personal Opinion Start]
Funny, these rookies who write TOOLS
that have no idea what is available on the mainframe,
nor how to do it,
spend their time writting interfaces for things
instead of writing useful tools, that would provide system-wide analysis to COBOL systems.
[Personal Opinion End] |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
|