11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

► List a user catalog connector in the master catalog:<br />

LISTCAT ENT(user.catalog.name) ALL<br />

You can use this command to display the volser and the alias associations <strong>of</strong> a user<br />

catalog as it is defined in the master catalog. For sample output <strong>of</strong> this command, see<br />

Figure 6-13 on page 341.<br />

► List the catalog’s self-describing record:<br />

LISTCAT ENT(user.catalog.name) CAT(user.catalog.name) ALL<br />

This gives detailed information about a user catalog, such as attributes, statistics, extent<br />

information, and more. Because the self-describing record is in the user catalog, you must<br />

o specify the name <strong>of</strong> the user catalog in the CAT statement. If you do not use the CAT<br />

keyword, only the user catalog connector information from the master catalog is listed as<br />

in the previous example. Figure 6-17 shows sample output for this command.<br />

LISTING FROM CATALOG -- CATALOG.MVSICFU.VVSF6C1<br />

CLUSTER ------- 00000000000000000000000000000000000000000000<br />

HISTORY<br />

DATASET-OWNER-----(NULL) CREATION--------2004.260<br />

RELEASE----------------2 EXPIRATION------0000.000<br />

BWO STATUS--------(NULL) BWO TIMESTAMP-----(NULL)<br />

BWO---------------(NULL)<br />

PROTECTION-PSWD-----(NULL) RACF----------------(NO)<br />

ASSOCIATIONS<br />

DATA-----CATALOG.MVSICFU.VVSF6C1<br />

INDEX----CATALOG.MVSICFU.VVSF6C1.CATINDEX<br />

DATA ------- CATALOG.MVSICFU.VVSF6C1<br />

HISTORY<br />

DATASET-OWNER-----(NULL) CREATION--------2004.260<br />

RELEASE----------------2 EXPIRATION------0000.000<br />

ACCOUNT-INFO-----------------------------------(NULL)<br />

PROTECTION-PSWD-----(NULL) RACF----------------(NO)<br />

ASSOCIATIONS<br />

CLUSTER--00000000000000000000000000000000000000000000<br />

ATTRIBUTES<br />

KEYLEN----------------45 AVGLRECL------------4086 BUFSPACE-----------11776 CISIZE--------------4096<br />

RKP--------------------9 MAXLRECL-----------32400 EXCPEXIT----------(NULL) CI/CA----------------180<br />

BUFND------------------4 STRNO------------------3<br />

SHROPTNS(3,4) SPEED UNIQUE NOERASE INDEXED NOWRITECHK NOIMBED NOREPLICAT<br />

UNORDERED NOREUSE SPANNED NOECSHARE ICFCATALOG<br />

STATISTICS<br />

REC-TOTAL--------------0 SPLITS-CI-------------34 EXCPS------------------0<br />

REC-DELETED--------11585 SPLITS-CA--------------0 EXTENTS----------------1<br />

REC-INSERTED-----------0 FREESPACE-%CI---------10 SYSTEM-TIMESTAMP:<br />

REC-UPDATED------------0 FREESPACE-%CA---------10 X'0000000000000000'<br />

REC-RETRIEVED----------0 FREESPC----------3686400<br />

ALLOCATION<br />

SPACE-TYPE------CYLINDER HI-A-RBA---------3686400<br />

SPACE-PRI--------------5 HI-U-RBA----------737280<br />

SPACE-SEC--------------5<br />

VOLUME<br />

VOLSER------------VSF6C1 PHYREC-SIZE---------4096 HI-A-RBA---------3686400 EXTENT-NUMBER----------1<br />

DEVTYPE------X'3010200F' PHYRECS/TRK-----------12 HI-U-RBA----------737280 EXTENT-TYPE--------X'00'<br />

VOLFLAG------------PRIME TRACKS/CA-------------15<br />

EXTENTS:<br />

LOW-CCHH-----X'00110000' LOW-RBA----------------0 TRACKS----------------75<br />

HIGH-CCHH----X'0015000E' HIGH-RBA---------3686399<br />

INDEX ------ CATALOG.MVSICFU.VVSF6C1.CATINDEX<br />

...<br />

Figure 6-17 Example <strong>of</strong> a LISTCAT output for a user catalog<br />

► Listing a VSAM or non-VSAM data set:<br />

LISTCAT ENT(data.set.name) ALL<br />

The output for a VSAM data set looks the same as in Figure 6-17 (remember, a catalog is<br />

a VSAM data set). For a non-VSAM data set, the output is much shorter.<br />

You can use the LISTCAT command to list information for other catalog entries as well. For<br />

information about LISTCAT, see z/<strong>OS</strong> DFSMS Access Method Services for Catalogs,<br />

SC26-7394.<br />

346 <strong>ABCs</strong> <strong>of</strong> z/<strong>OS</strong> <strong>System</strong> <strong>Programming</strong> <strong>Volume</strong> 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!