Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Listc help and VSAM

Posted on 2010-11-29
7
Medium Priority
?
1,159 Views
Last Modified: 2012-05-10
Disclaimer: I'm taking a class.

If I were to run LISTC ENT('DATASET') ALL in Z/OS, how do I identify VSAM dataset attributes?

Do you know of any appropriate references on the web?

example output:
CLUSTER ------- ZOS.USSFILE.STUDENTS
     IN-CAT --- CATALOG.ZOS         
     HISTORY                        
        DATASET-OWNER-----(NULL)     CREATION--------2009.158                   
        RELEASE----------------2     EXPIRATION------0000.000                   
        BWO STATUS--------(NULL)     BWO TIMESTAMP-----(NULL)                   
        BWO---------------(NULL)                                                
      PROTECTION-PSWD-----(NULL)     RACF---------------(YES)                   
      ASSOCIATIONS                                                              
        DATA-----ZOS.USSFILE.STUDENTS.DATA                                      
    DATA ------- ZOS.USSFILE.STUDENTS.DATA                                      
      IN-CAT --- CATALOG.ZOS                                                    
      HISTORY                                                                   
        DATASET-OWNER-----(NULL)     CREATION--------2009.158                   
        RELEASE----------------2     EXPIRATION------0000.000                   
        ACCOUNT-INFO-----------------------------------(NULL)                   
      PROTECTION-PSWD-----(NULL)     RACF---------------(YES)                   
      ASSOCIATIONS                                                              
        CLUSTER--ZOS.USSFILE.STUDENTS                                           
      ATTRIBUTES                                                                
        KEYLEN-----------------0     AVGLRECL---------------0     BUFSPACE------
------8192     CISIZE--------------4096                                         
        RKP--------------------0     MAXLRECL---------------0     EXCPEXIT------
----(NULL)     CI/CA----------------180                                         
        SHROPTNS(3,3)   RECOVERY     UNIQUE           NOERASE     LINEAR        
NOWRITECHK     NOIMBED       NOREPLICAT                                         
        UNORDERED        NOREUSE     NONSPANNED           ZFS                   
      STATISTICS                                                                
        REC-TOTAL--------------0     SPLITS-CI--------------0     EXCPS---------
---------0                                                                      
        REC-DELETED------------0     SPLITS-CA--------------0     EXTENTS-------
--------49                                                                      
        REC-INSERTED-----------0     FREESPACE-%CI----------0     SYSTEM-TIMESTA
MP:                                                                             
        REC-UPDATED------------0     FREESPACE-%CA----------0          X'C4DA9E8
428021901'                                                                      
        REC-RETRIEVED----------0     FREESPC----------------0                   
      ALLOCATION                                                                
        SPACE-TYPE------CYLINDER     HI-A-RBA-------218234880                   
        SPACE-PRI------------200     HI-U-RBA-------218234880                   
        SPACE-SEC--------------2                                                
      VOLUME                                                                    
        VOLSER------------VPWRKA     PHYREC-SIZE---------4096     HI-A-RBA------
-218234880     EXTENT-NUMBER---------49                                         
        DEVTYPE------X'3010200F'     PHYRECS/TRK-----------12     HI-U-RBA------
-218234880     EXTENT-TYPE--------X'40'                                         
        VOLFLAG------------PRIME     TRACKS/CA-------------15                   
        EXTENTS:                                                                
        LOW-CCHH-----X'000D0000'     LOW-RBA----------------0     TRACKS--------
 ------3000                                                                     
        HIGH-CCHH----X'00D4000E'     HIGH-RBA-------147455999                   
        LOW-CCHH-----X'03D30000'     LOW-RBA--------147456000     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03D4000E'     HIGH-RBA-------148930559                   
        LOW-CCHH-----X'03D50000'     LOW-RBA--------148930560     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03D6000E'     HIGH-RBA-------150405119                   
        LOW-CCHH-----X'03D70000'     LOW-RBA--------150405120     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03D8000E'     HIGH-RBA-------151879679                   
        LOW-CCHH-----X'03D90000'     LOW-RBA--------151879680     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03DA000E'     HIGH-RBA-------153354239                   
        LOW-CCHH-----X'03DB0000'     LOW-RBA--------153354240     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03DC000E'     HIGH-RBA-------154828799                   
        LOW-CCHH-----X'03DD0000'     LOW-RBA--------154828800     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03DE000E'     HIGH-RBA-------156303359                   
        LOW-CCHH-----X'03DF0000'     LOW-RBA--------156303360     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03E0000E'     HIGH-RBA-------157777919                   
        LOW-CCHH-----X'03E10000'     LOW-RBA--------157777920     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03E2000E'     HIGH-RBA-------159252479                   
        LOW-CCHH-----X'03E30000'     LOW-RBA--------159252480     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03E4000E'     HIGH-RBA-------160727039                   
        LOW-CCHH-----X'03E50000'     LOW-RBA--------160727040     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03E6000E'     HIGH-RBA-------162201599                   
        LOW-CCHH-----X'03E70000'     LOW-RBA--------162201600     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03E8000E'     HIGH-RBA-------163676159                   
        LOW-CCHH-----X'03E90000'     LOW-RBA--------163676160     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03EA000E'     HIGH-RBA-------165150719                   
        LOW-CCHH-----X'03EB0000'     LOW-RBA--------165150720     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03EC000E'     HIGH-RBA-------166625279                   
        LOW-CCHH-----X'03ED0000'     LOW-RBA--------166625280     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03EE000E'     HIGH-RBA-------168099839                   
        LOW-CCHH-----X'03EF0000'     LOW-RBA--------168099840     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03F0000E'     HIGH-RBA-------169574399                   
        LOW-CCHH-----X'03F10000'     LOW-RBA--------169574400     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03F2000E'     HIGH-RBA-------171048959                   
        LOW-CCHH-----X'03F30000'     LOW-RBA--------171048960     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03F4000E'     HIGH-RBA-------172523519                   
        LOW-CCHH-----X'03F50000'     LOW-RBA--------172523520     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03F6000E'     HIGH-RBA-------173998079                   
        LOW-CCHH-----X'03F70000'     LOW-RBA--------173998080     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03F8000E'     HIGH-RBA-------175472639                   
        LOW-CCHH-----X'03F90000'     LOW-RBA--------175472640     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03FA000E'     HIGH-RBA-------176947199                   
        LOW-CCHH-----X'03FB0000'     LOW-RBA--------176947200     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03FC000E'     HIGH-RBA-------178421759                   
        LOW-CCHH-----X'03FD0000'     LOW-RBA--------178421760     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'03FE000E'     HIGH-RBA-------179896319                   
        LOW-CCHH-----X'03FF0000'     LOW-RBA--------179896320     TRACKS--------
 --------30                                                                     
        HIGH-CCHH----X'0400000E'     HIGH-RBA-------181370879                   
        LOW-CCHH-----X'04010000'     LOW-RBA--------181370880     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0402000E'     HIGH-RBA-------182845439                   
        LOW-CCHH-----X'04030000'     LOW-RBA--------182845440     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0404000E'     HIGH-RBA-------184319999                   
        LOW-CCHH-----X'04050000'     LOW-RBA--------184320000     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0406000E'     HIGH-RBA-------185794559                   
        LOW-CCHH-----X'04070000'     LOW-RBA--------185794560     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0408000E'     HIGH-RBA-------187269119                   
        LOW-CCHH-----X'04090000'     LOW-RBA--------187269120     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'040A000E'     HIGH-RBA-------188743679                   
        LOW-CCHH-----X'040B0000'     LOW-RBA--------188743680     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'040C000E'     HIGH-RBA-------190218239                   
        LOW-CCHH-----X'040D0000'     LOW-RBA--------190218240     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'040E000E'     HIGH-RBA-------191692799                   
        LOW-CCHH-----X'040F0000'     LOW-RBA--------191692800     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0410000E'     HIGH-RBA-------193167359                   
        LOW-CCHH-----X'04110000'     LOW-RBA--------193167360     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0412000E'     HIGH-RBA-------194641919                   
        LOW-CCHH-----X'04130000'     LOW-RBA--------194641920     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0414000E'     HIGH-RBA-------196116479                   
        LOW-CCHH-----X'04150000'     LOW-RBA--------196116480     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0416000E'     HIGH-RBA-------197591039                   
        LOW-CCHH-----X'04170000'     LOW-RBA--------197591040     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0418000E'     HIGH-RBA-------199065599                   
        LOW-CCHH-----X'04190000'     LOW-RBA--------199065600     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'041A000E'     HIGH-RBA-------200540159                   
        LOW-CCHH-----X'041B0000'     LOW-RBA--------200540160     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'041C000E'     HIGH-RBA-------202014719                   
        LOW-CCHH-----X'041D0000'     LOW-RBA--------202014720     TRACKS--------
--------30                                                                      
 ***                                                                            
        HIGH-CCHH----X'041E000E'     HIGH-RBA-------203489279                   
        LOW-CCHH-----X'041F0000'     LOW-RBA--------203489280     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0420000E'     HIGH-RBA-------204963839                   
        LOW-CCHH-----X'04210000'     LOW-RBA--------204963840     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0422000E'     HIGH-RBA-------206438399                   
        LOW-CCHH-----X'04230000'     LOW-RBA--------206438400     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0424000E'     HIGH-RBA-------207912959                   
        LOW-CCHH-----X'04250000'     LOW-RBA--------207912960     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0426000E'     HIGH-RBA-------209387519                   
        LOW-CCHH-----X'04270000'     LOW-RBA--------209387520     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0428000E'     HIGH-RBA-------210862079                   
        LOW-CCHH-----X'04290000'     LOW-RBA--------210862080     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'042A000E'     HIGH-RBA-------212336639                   
        LOW-CCHH-----X'042B0000'     LOW-RBA--------212336640     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'042C000E'     HIGH-RBA-------213811199                   
        LOW-CCHH-----X'042D0000'     LOW-RBA--------213811200     TRACKS--------
 ***                                                                            
 --------30                                                                     
        HIGH-CCHH----X'042E000E'     HIGH-RBA-------215285759                   
        LOW-CCHH-----X'042F0000'     LOW-RBA--------215285760     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0430000E'     HIGH-RBA-------216760319                   
        LOW-CCHH-----X'04310000'     LOW-RBA--------216760320     TRACKS--------
--------30                                                                      
        HIGH-CCHH----X'0432000E'     HIGH-RBA-------218234879                   
 ***

Open in new window

0
Comment
Question by:JCW2
  • 4
  • 3
7 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 34238240
Here is a tutorial about interpreting LISTCAT's aoutput:

http://www.slideshare.net/danjodea/reading-the-listcat-entries-for-vsam

and this is from IBM's z/OS Infocenter:

http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.idai200/da6i2235.htm

Which specific attributes do you need to identify?

 wmp
0
 

Author Comment

by:JCW2
ID: 34254481
I wanted to figure whether or not there were VSAM dataset attributes extant in the dataset.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34255533
Of course there are - lots! See lines 20-27 in the output you posted!

wmp
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:JCW2
ID: 34263537
It's VSAM. How do I determine which VSAM it is?
0
 

Author Comment

by:JCW2
ID: 34263541
VSAM type
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34265012
You'll find "LINEAR" in the "ATTRIBUTES" section above, which indicates a LINEAR  (=LDS) dataset.

Other types could be "INDEXED" (= KSDS), "NUMBERED" (= RRDS) or "NONINDEXED" (= ESDS).

Or what do you mean with "VSAM type"?
0
 

Author Closing Comment

by:JCW2
ID: 34288150
Thank you for your help.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Screencast - Getting to Know the Pipeline

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question