Is there a TSO command that will show a Libray type?

I have a list of Mainframe libraries -- and I have to identify which ones are in PDSE format.

Is there a command that I can use in batch that will show this?

I have procedures to run LDR and LU commands in batch -- and hoping to find a command to identify library types.

Thanks for the help,
je
Jeanne ElmuccioAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

giltjrCommented:
If you do a listcat ent all command PDSE's will have "DSNTYPE----------LIBRARY" as part of the output.
You can do listcat's in a batch job by running the program IDCAMS.

listcat ent('fully.qualified.dsn') all                                                              
 NONVSAM ------- fully.qualified.dsn                                                                
      IN-CAT --- catalog                                                        
      HISTORY                                                                                
        DATASET-OWNER-----(NULL)     CREATION--------yyyy.ddd                                
        RELEASE----------------2     EXPIRATION------0000.000                                
        ACCOUNT-INFO-----------------------------------(NULL)                                
        DSNTYPE----------LIBRARY                                                            
      SMSDATA                                                                                
        STORAGECLASS ---sclass     MANAGEMENTCLASS-mclass                                
        DATACLASS --------(NULL)     LBACKUP ---2015.190.0431                                
      VOLUMES                                                                                
        VOLSER------------volume     DEVTYPE------X'3010200F'     FSEQN------------------0    
      ASSOCIATIONS--------(NULL)                                                              
      ATTRIBUTES
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jeanne ElmuccioAuthor Commented:
This works perfectly.  Thanks!
je
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mainframe Languages

From novice to tech pro — start learning today.