Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Read a string in multiple PDS members

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
vinayknj

New User


Joined: 26 May 2008
Posts: 50
Location: Bangalore

PostPosted: Thu Oct 20, 2011 11:30 am    Post subject: Read a string in multiple PDS members
Reply with quote

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
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Thu Oct 20, 2011 11:36 am    Post subject: Reply to: Read a string in multiple PDS members
Reply with quote

tell US for what reason we should waste out time in thinking on how to reinvent the wheel icon_evil.gif

How to read a PDS member has been debated too many times, just search the forums!
Back to top
View user's profile Send private message
vinayknj

New User


Joined: 26 May 2008
Posts: 50
Location: Bangalore

PostPosted: Thu Oct 20, 2011 12:50 pm    Post subject: Read a string in multiple PDS members
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 20, 2011 1:29 pm    Post subject: Re: Read a string in multiple PDS members
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Oct 20, 2011 2:49 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Thu Oct 20, 2011 9:00 pm    Post subject: Reply to: Read a string in multiple PDS members
Reply with quote

Quote:
I am not sure if this can be done through Rexx.

Yes it can
see here
http://www.ibmmainframes.com/viewtopic.php?t=25947&highlight=
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us