List Tape Volume Entries: Example 8
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)