SELECT (CONNECTED and NOTCONNECTED): List volumes that contain spanning data sets

Explanation: CONNECTED and NOTCONNECTED are mutually exclusive optional subparameters of SELECT.

CONNECTED
specifies a list of tape volumes that contain spanning data sets. The tapes are grouped based on which volumes are associated with their spanning data sets. CONNECTED lists all connected sets where each set is shown in the connected order. The order of the sets is in collating order of the first tape volser in each set. The collection of sets lists all tapes that contain spanning, valid data sets.
CONNECTED(volser)
specifies that the tape volume set that is associated with volser be listed. All tapes in the connected set associated with this volser are listed.
NOTCONNECTED
specifies a list of tape volumes that excludes all that contain spanning data sets. Any tape in this list can be moved into or out of a library without having to find a tape containing another part of a spanning data set. Tapes that are not connected can be full or partially full (empty tapes are not included). The SELECT subparameters FULL or NOTFULL may be used to further restrict the listing. Output from the NOTCONNECTED subparameter identifies those tape volumes that can be individually inserted into or ejected from a tape library.
Defaults: None.
Note:
  1. Output from the CONNECTED subparameter identifies which tape volumes should be inserted or ejected from a tape library at the same time.
  2. Do not use any other subparameters on SELECT when specifying CONNECTED(volser).
  3. Do not use the EMPTY, FULL, NOTFULL, ALTERNATE, NOALTERNATE, or DIASTERALTERNATEVOLUMES subparameters when specifying CONNECTED.