|
View previous topic :: View next topic
|
| Author |
Message |
jerryte
Active User

Joined: 29 Oct 2010 Posts: 205 Location: Toronto, ON, Canada
|
|
|
|
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 |
|
 |
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Uh-oh, you're gonna' get hollered at! This is a no-no question.
I ended up using the REXX approach. |
|
| Back to top |
|
 |
satish kompella
New User
Joined: 22 Feb 2012 Posts: 4 Location: india
|
|
|
|
| Try using the utility IEHLIST. |
|
| Back to top |
|
 |
jerryte
Active User

Joined: 29 Oct 2010 Posts: 205 Location: Toronto, ON, Canada
|
|
|
|
| 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 |
|
 |
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 767 Location: Whitby, ON, Canada
|
|
|
|
| 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 |
|
 |
|
|