SHOWDEV
The SHOWDEV command displays status information for all input and output
devices on the system.
Syntax
SHOWDEV [ldev ]
[classname]
Parameters
ldev Specifies the logical device number of the device
for which status information is to be displayed.
This number is unique for each device. Without
this parameter or the classname parameter, the
system displays status information for all devices
on the system.
classname Specifies the class name of device(s) for which
status information is to be displayed. This name
can apply to several devices. Without this
parameter or the ldev parameter, the system
displays status information for all devices on the
system.
Operation Notes
* Usage
You can enter this command from a session, a job, a program, or in
break mode. Pressing Break aborts the execution of this command.
* Command field descriptions
When you enter the SHOWDEV command, the display appears in the
following format:
_____________________________________________________________________
| |
| LDEV AVAIL OWNERSHIP VOLID DEN ASSOCIATION|
| |
| 1 DISC 43 FILES |
| 6 SPOOLED SPOOLER OUT |
| 8 AVAIL |
| 20 A UNAVAIL #S311: 7 FILES |
_____________________________________________________________________
Definitions for each of the column fields are as follows:
LDEV Specifies the logical device number and can
include one of the following:
J Accepts jobs.
D Accepts data.
A Accepts jobs and data.
AVAIL Lists the availability of devices and disks
as follows:
AVAIL The device is
available as a real,
nonshareable device.
SPOOLED The device is
available for input or
output spooling.
UNAVAIL The device is
unavailable; it is
controlled by a job, a
session, or a system
process, such as a
spooler.
DISC The device is a disk
and is always
available.
DISC (RPS) The device is a CS-80
disk on which
rotational position
sensing (RPS) has been
enabled.
OWNERSHIP Specifies device ownership and can include
one of the following:
SYS The system controls
ownership. If #nnn
appears, it specifies
the process
identification number
(PIN) of the
controlling process
(program).
SPOOLER IN The input spooler
controls ownership.
SPOOLER OUT The output spooler
controls ownership.
Jnnn The indicated job
controls ownership.
Snnn The indicated session
controls ownership.
nn FILES nn number of files are
currently in use on a
disk.
DOWN The device is offline
as requested by the
system administrator
with the DOWN command.
DP The device is being
taken offline. (A
DOWN command operation
is pending.)
VOLID Specifies the volume identification and can
include one of the following:
IBM The named magnetic
tape volume has a
label written in the
IBM format.
ANSI The named magnetic
tape volume has a
label.
NOLABEL The named magnetic
tape volume has no
label. This is the
default.
DEN Specifies the tape density and can include
one of the following:
6250 The density is 6250
bytes-per-inch (BPI).
1600 The density is 1600
BPI, or the density of
the tape is
unrecognizable.
ASSOCIATION Specifies the logical devices by device
class that the system administrator has
established with the ASSOCIATE command.
Examples
* To display the status of the device identified by logical device
number 5, enter:
:SHOWDEV 5
LDEV AVAIL OWNERSHIP VOLID DEN ASSOCIATION
5 SPOOLED SPOOLER OUT
* To display the status of all devices of the device class CARD,
enter:
:SHOWDEV CARD
LDEV AVAIL OWNERSHIP VOLID DEN ASSOCIATION
6 A AVAIL
Related Commands
ASSOCIATE
DOWN
SHOWJOB
SHOWPROC
SPOOLER
UP