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

Regarding LISTCAT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Amb

New User


Joined: 12 Mar 2010
Posts: 64
Location: India

PostPosted: Wed Jun 15, 2011 12:49 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 15, 2011 12:58 pm
Reply with quote

Try :

LISTCAT LEVEL(PBR) CLUSTER
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jun 15, 2011 1:39 pm
Reply with quote

Click HERE and with the merest of tinkering will give you your results and lots lots more.
Back to top
View user's profile Send private message
Amb

New User


Joined: 12 Mar 2010
Posts: 64
Location: India

PostPosted: Wed Jun 15, 2011 2:22 pm
Reply with quote

Thank you so much
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IDCAMS listcat service using cobol JCL & VSAM 1
No new posts IDCAMS & LISTCAT with ddnames JCL & VSAM 1
No new posts LISTCAT on a dataset with symbolic pa... JCL & VSAM 5
No new posts listcat jcl GDG with relative genrati... JCL & VSAM 3
No new posts Alternatives to LISTCAT CLIST & REXX 3
Search our Forums:

Back to Top