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: 10396
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: 8631
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: 6970
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: 10396
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 Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm
No new posts Updating multiple counts in trailer!! Vignesh Sid SYNCSORT 4 Mon Nov 06, 2017 1:04 pm
No new posts Selecting a row from multiple tables! Vignesh Sid DB2 2 Thu Oct 26, 2017 6:09 pm

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