View previous topic :: View next topic
|
Author |
Message |
Amb
New User
Joined: 12 Mar 2010 Posts: 64 Location: India
|
|
|
|
I want to list down all the vsam clusters in my system that start with PBR.*
I am trying to use the below LISTCAT command
Code: |
//@LIST JOB (DQFQP),'TEST',MSGCLASS=X,
// NOTIFY=&SYSUID,REGION=4M
//LSTALIAS EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
LISTCAT ENTRIES(PBR.*) CLUSTER
/* |
However this is not listing all the clusters. It is listing only those that have names upto second qualifier
for example:
PBR.INP1
PBR.INP2
PBR.INP3 etc...
and those with more than 2 levels of qualifiers are not listed
for example:
PBR.INP1.file1
PBR.INP1.file1.detail
PBR.INP1.file1.detail.recs etc..
Please help.
Is there any other way to list down all the vsam files in a given system?- |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Try :
LISTCAT LEVEL(PBR) CLUSTER |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Click HERE and with the merest of tinkering will give you your results and lots lots more. |
|
Back to top |
|
|
Amb
New User
Joined: 12 Mar 2010 Posts: 64 Location: India
|
|
|
|
Thank you so much |
|
Back to top |
|
|
|