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
 

 

Sample rexx code to search a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
APD1

New User


Joined: 18 Feb 2009
Posts: 59
Location: India

PostPosted: Thu Mar 05, 2009 11:10 am    Post subject: Sample rexx code to search a PDS
Reply with quote

I have a requirement wherein for example I am searching a text like 'XXXX' in a PDS having more than 1000 members. Now suppose this text is in 700 out of 1000 members then I would like to have the list of this 700 members in a PS dataset using a rexx code. Using 3.12 ispf option I can search for the text but it gives some extra info as well which i dont want . I only need the name of the members in which this text is present. Please let me know the sample rexx code for this. Thanks
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Mar 05, 2009 11:21 am    Post subject:
Reply with quote

Hello,

One way to get what you want would be to run the 3.12 and save the result to dasd. Then read the result list and write the member names to the file.
Back to top
View user's profile Send private message
APD1

New User


Joined: 18 Feb 2009
Posts: 59
Location: India

PostPosted: Thu Mar 05, 2009 11:24 am    Post subject: Reply to: Sample rexx code ?
Reply with quote

A bit longer method but will try
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Mar 05, 2009 11:33 am    Post subject:
Reply with quote

The LMTO process option of SUPERC will give you what you need.

O.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


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