z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


List Tape Volume Entries: Example 8

z/OS DFSMS Access Method Services Commands
SC23-6846-01

This example lists all the tape volume entries whose names begin with the letters ‘VA’ in the tape library named ATLLIB1.
//LISTCLIB    JOB     ...
//STEP1       EXEC   PGM=IDCAMS
//SYSPRINT    DD     SYSOUT=A
//SYSIN       DD     *
      LISTCAT -
           VOLUMEENTRIES(VA*) -
           LIBRARY(ATLLIB1) -
           ALL
/*
This command's parameters are:
  • VOLUMEENTRIES specifies that information relating to tape volume entries whose names begin with the letters ‘VA’ are be listed.
  • LIBRARY specifies that only tape volume entries associated with the tape library named ATLLIB1 are to be listed.
  • ALL requires that all information associated with the specified tape volume entries are to be listed.

The tape volume entries information is listed in the following format:

                              LISTING FROM CATALOG -- SYS1.VOLCAT.VGENERAL

 VOLUME-ENTRY-----------VAL0001
     DATA-VOLUME
       LIBRARY----------ATLLIB1     LOCATION-----------LIBRARY       CREATION-DATE---2001-01-01   ENT-EJ-DATE---2001-01-01
       RECORDING--------UNKNOWN     MEDIATYPE-----------MEDIA2       COMPACTION------------NO     SPEC-ATTRIBUTE -----NONE
       STORAGE-GROUP---*SCRTCH*     USE-ATTRIBUTE------SCRATCH       EXPIRATION------2010-12-31   LAST-MOUNTED--2001-01-01
       CHECKPOINT-------------Y     ERROR-STATUS-------NOERROR       WRITE-PROTECTED----------N   LAST-WRITTEN--2001-01-01
       SHELF-LOCATION------------(NULL)
       OWNER---------------(NULL)

 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014