09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LISTCATList Catalog Entries: Example 4This example illustrates how all catalog entries with the same generic name arelisted.//LISTCAT3 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *LISTCAT -ENTRIES(GENERIC.*.BAKER) -ALL/*The LISTCAT command lists each catalog entry with the generic nameGENERIC.*.BAKER, where * is any 1-to-8 character simple name. The parametersare:vvENTRIES specifies the entryname of the object to be listed. BecauseGENERIC.*.BAKER is a generic name, more than one entry can be listed.ALL specifies that all fields of each entry are to be listed.List Catalog Entries: Example 5This example shows the LISTCAT command being used with the HISTORYparameter.//LISTCAT4 JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *LISTCAT -ENTRIES(USER01.DATA1.EXMPL) -DATA -HISTORY/*The LISTCAT command’s parameters are:vvvENTRIES specifies the name of the entry to be listed.DATA specifies that only the data component of the entry identified in theENTRIES parameter are listed.HISTORY specifies that the HISTORY in<strong>for</strong>mation is displayed.List a Tape Library Entry: Example 6This example lists the tape library entry named ATLLIB1.//LISTCLIB JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *LISTCAT -LIBRARYENTRIES(ATLLIB1) -ALL/*This command’s parameters are:vvLIBRARYENTRIES identifies ATLLIB1 as the entry to be listed.ALL specifies that all in<strong>for</strong>mation associated with the tape library entry ATLLIB1is to be listed.The tape library entry in<strong>for</strong>mation is listed in the following <strong>for</strong>mat:Chapter 27. LISTCAT 285

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

Saved successfully!

Ooh no, something went wrong!