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
 

 

Utility to list pds members

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Tue Dec 20, 2011 12:51 am    Post subject: Utility to list pds members
Reply with quote

Is there a utility that can be run in batch to list all of the members in a pds? Ideally it should be able to access multiple pds using a single dd. I looked at all of the IEB* utilities but none of them seem to be able to do this.

I could write a rexx to do a LMMLIST but I was hoping for something simplier. Plus this requires 5 calls instead of 1 (INIT, OPEN, LIST, CLOSE, FREE). The tso LISTDS command will work on only 1 pds at a time.

Any suggestions are appreciatted.
Back to top
View user's profile Send private message

Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Tue Dec 20, 2011 12:57 am    Post subject:
Reply with quote

Uh-oh, you're gonna' get hollered at! This is a no-no question.

I ended up using the REXX approach.
Back to top
View user's profile Send private message
satish kompella

New User


Joined: 22 Feb 2012
Posts: 4
Location: india

PostPosted: Wed Feb 22, 2012 12:13 pm    Post subject:
Reply with quote

Try using the utility IEHLIST.
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 183
Location: Toronto, ON, Canada

PostPosted: Wed Feb 22, 2012 8:29 pm    Post subject:
Reply with quote

satish kompella wrote:
Try using the utility IEHLIST.

Thanks for the suggestion. I tried this and I have to say what an archaic utility it is. I have to specify the volume that the pds is on. For some strange reason it can't figure this out. This utility must have been made way back before I was born when the mainframe didn't have a catalog and programmers kept a list of dasd volume on their desk. JCL was probably coded onto punch cards.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 647
Location: Whitby, ON, Canada

PostPosted: Wed Feb 22, 2012 9:44 pm    Post subject:
Reply with quote

You could also try the LMPRINT service. It's a little less effort than LMMLIST, but it writes the output to the ISPF List data set.
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am


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