Use the DISPLAY SMS command to display the status of the library.
The syntax of the DISPLAY SMS command for library status follows:
>>-+-DISPLAY-+--SMS,--+-LIBRARY-+--(-+-library_name-+-)--------->
'-D-------' '-LIB-----' '-ALL----------'
.-STATUS-.
>--,-+-DETAIL-+--+----------------+----------------------------><
'-STATUS-' '-,L=-+-a------+-'
+-name---+
'-name-a-'
- LIBRARY | LIB(library_name | ALL)
- Identifies the library to be displayed. If a library name is specified,
there is one data line describing the specified library. If ALL is
specified, there is one data line for each library in the configuration.
To specify a library named ALL, surround it with a double set of parentheses;
for example: DISPLAY SMS,LIBRARY((ALL)).
- STATUS | DETAIL
- The STATUS keyword displays the online
or offline state of each tape library in the SMS configuration with
respect to each system in the SMS complex. STATUS is the default. The DETAIL keyword
displays specific information about the library, such as total number
of slots, empty slots, number of drives, scratch volumes, and so on.
Note: A status of ONLINE does not necessarily mean that the library is
operational. To determine whether a library is operational, specify
the
DETAIL keyword. See
Displaying library detail status for information on how to obtain
detailed library status.
- ,L={a | name | name-a}
- Specifies where to display the results of the inquiry: the display
area (L=a), the console name (L=name), or both the console
name and the display area (L=name-a). The name parameter can be an alphanumeric character string.