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
 
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 attchmvs from rexx subroutine that re... harisukumaran CLIST & REXX 1 Fri Jan 19, 2018 5:29 am
No new posts Can we create REXX ouput in an Excel ... upendrasri CLIST & REXX 3 Wed Jan 17, 2018 8:19 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts REXX contest sergeyken CLIST & REXX 2 Tue Jan 09, 2018 1:55 am

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