IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Utility to list pds members


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


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

PostPosted: Tue Dec 20, 2011 12:51 am
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
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
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: 205
Location: Toronto, ON, Canada

PostPosted: Wed Feb 22, 2012 8:29 pm
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: 767
Location: Whitby, ON, Canada

PostPosted: Wed Feb 22, 2012 9:44 pm
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 All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Use of long filenames with GDKUTIL ut... IBM Tools 3
No new posts PDS member list with stats JCL & VSAM 6
No new posts Use Copy Utility DB2 7
Search our Forums:


Back to Top