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 MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 1 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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