Display system connectivity of the tape and optical libraries

If you wish to display which libraries are connected to your system you can use the MVS command:

D SMS,LIB(ALL)

Example:

D SMS,LIB(ALL)

RESPONSE=SYST
IGD002I 15:10:50 DISPLAY SMS 869

LIBRARY   CLASS  SYSTEM= 1
TSTATL1   TAPE           +
***************************** LEGEND *****************************
. THE LIBRARY IS NOT DEFINED TO THE SYSTEM
+ THE LIBRARY IS ONLINE
- THE LIBRARY IS OFFLINE
P THE LIBRARY IS PENDING OFFLINE
SYSTEM  1 = SYST

We can see in this example that we have a tape library online on system SYST called TSTATL1. If we wish to obtain more details regarding this library we issue the command:

D SMS,LIB(TSTATL1),DETAIL

CBR1110I OAM library status: 563
TAPE      LIB  DEVICE    TOT  ONL  AVL  TOTAL  EMPTY SCRTCH  ON OP
LIBRARY   TYP  TYPE      DRV  DRV  DRV  SLOTS  SLOTS   VOLS
TSTATL1   AL   3584-L22   16    4    4   1060    187    148  Y  Y
----------------------------------------------------------------------
MEDIA       SCRATCH       SCRATCH       SCRATCH
TYPE          COUNT     THRESHOLD      CATEGORY
MEDIA5          148            50          0005
----------------------------------------------------------------------
LIBRARY ID: A0669
OPERATIONAL STATE:  AUTOMATED
ERROR CATEGORY SCRATCH COUNT:               9
----------------------------------------------------------------------
Convenience I/O station installed.
Convenience I/O station in Input mode.
Convenience I/O station Empty.
Bulk input/output not configured.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.