DEVSERV command
Use the DEVSERV command to request a display of the status of DASD
and tape devices. The response is a display of basic status information
about a device, a group of devices, or storage control units, and
optionally can include a broad range of additional information. You
can display:
- Device number
- Device type
- Logical mode of the device
- Number of data sets allocated on the volume
- Volume serial label
- Channel path ID
- Status of the path
- Status of an SMS-managed device
- Volume status
- Storage group name
- Storage group status
- Control unit type and model
- Control unit serial number
- Device capacity, in cylinders
- Device extended function status
- Unit control block (UCB) device type information
- Help text, when you request it
- The following, if the device belongs to the DASD storage subsystem:
- Real device type (if what is shown is an emulated device type)
- Control unit type and model (or emulated control unit type and model if the real and emulated control units are not the same)
- Subsystem ID for this storage subsystem
- Cache fast write state
- Track caching state
- DASD fast write state
- State of pinned data
- State of dual copy, PPRC, or SPARing -- if there is any
- Address of the other device in a dual copy pair
- Channel subsystem device address
- Subsystem internal logical device address
- An indication if the device extended function status information is inconsistent between MVS™ control blocks and the storage subsystem
- An indication if the defined (UCB) device type is inconsistent with the real device type
- Optionally, the total number of cylinders for each unique track format (3380 and 3390) for all of the devices within the scope of the request
- The following, if the device belongs to a tape library:
- Device type equivalent to DTYPE from the DS P command
- Device status indicating online / offline and ready / not ready
- Device type and model
- Device serial number
- Library identification number
- An indication if the defined (UCB) device type is inconsistent with the real device type
- You can compare the DEVSERV PATHS command with the DISPLAY U and DISPLAY M commands by referring to Displaying the status of devices and availability of paths.
- Using the DEVSERV QDASD option
- Using the DEVSERV QTAPE option
- Using the DEVSERV QPAVS option
- Using the DEVSERV QLIB option