Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10255
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: 6967
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: 10255
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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us