View previous topic :: View next topic
|
Author |
Message |
Vignesh Sid
New User
Joined: 04 Sep 2017 Posts: 43 Location: India
|
|
|
|
Hi all,
I have multiple PDS which has same prefix like follows:
XX.W.TOTALS.OUTPUT1
XX.W.TOTALS.OUTPUT2
XX.W.TOTALS.OUTPUT3
XX.W.TOTALS.OUTPUT4
XX.W.TOTALS.OUTPUT5
XX.W.TOTALS.OUTPUT5.OUT1
I used the following code to get the list of above PDS:
Code: |
//LIST EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTCAT ENTRIES (XX.W.TOTALS.*)
/*
|
But XX.W.TOTALS.OUTPUT5.OUT1 PDS is not obtained in sysout. Could anyone please help me to get all the PDS listed above.
Thanks, |
|
Back to top |
|
 |
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
LISTCAT ENTRIES (XX.W.TOTALS) |
|
Back to top |
|
 |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 743 Location: Denmark
|
|
|
|
LISTCAT LEVEL(XX.W.TOTALS) |
|
Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
CSIUTIL - a utility which I used a lot when playing DASD farmer would give you what you wanted.
I have posted the code on here. |
|
Back to top |
|
 |
Vignesh Sid
New User
Joined: 04 Sep 2017 Posts: 43 Location: India
|
|
|
|
Thanks Willy and Steve for your inputs.
LISTCAT LEVEL(XX.W.TOTALS) gave me the desired results.
Regards,
Viky |
|
Back to top |
|
 |
|