Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Regarding LISTCAT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Regarding LISTCAT
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: 2431
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 15, 2011 12:58 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jun 15, 2011 1:39 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts listcat jcl GDG with relative genrati... sumitmalik29 JCL & VSAM 3 Sat Jul 11, 2015 6:27 pm
No new posts Alternatives to LISTCAT jerryte CLIST & REXX 3 Thu Feb 26, 2015 9:47 pm
No new posts Executing LISTCAT command in a COBOL ... daga.aditya COBOL Programming 1 Wed Dec 25, 2013 5:54 pm
No new posts LISTCAT as a 3.4 line command (CLIST) Terry Heinze CLIST & REXX 8 Fri Nov 22, 2013 12:45 am
No new posts LISTCAT on production VSAM file mohitsaini JCL & VSAM 2 Fri Sep 20, 2013 12:21 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us