SELECT (LIBRARY and NOLIBRARY): Listing tape volume library status

Explanation: LIBRARY and NOLIBRARY are mutually exclusive optional subparameters of SELECT.

LIBRARY
lists only the tape volumes that are in a tape library. LIBRARY(ALTERNATE) lists only the tape volumes that have alternate tape volumes.
NOLIBRARY
lists only the tape volumes that are not in a tape library. NOLIBRARY(ALTERNATE) lists only the tape volumes that have alternate tape volumes not in a library.

When using the ALTERNATE subparameter, the listing is independent of whether the ORIGINAL volume is in a library and applies to both BACKUP and ML2 volumes. The field under the heading, LIB, applies to the alternate volume not the original volume. If you specify SELECT(NOALTERNATEVOLUME), the specification of LIBRARY(ALTERNATE) or NOLIBRARY(ALTERNATE) is ignored.

Defaults: None.

Note:
  1. If you select LIBRARY with no other parameter, all volumes in your library will be listed. To reduce the run time of the LIST command, narrow the scope of the command with other parameters.