Showing I/O Device Status with SHOWIN and SHOWOUT [ Getting System Information Programmer's Guide ] MPE/iX 5.0 Documentation
Getting System Information Programmer's Guide
Showing I/O Device Status with SHOWIN and SHOWOUT
The SHOWIN and SHOWOUT commands show status information about either
input or output devices on your system. Their syntax, the parameters you
use, and the formats of the resulting displays are almost exactly the
same. Unlike SHOWDEV, these commands do not display both input and
output device status at the same time; however, SHOWIN and SHOWOUT enable
you to display more detailed information about the status of the devices
that you specify. The parameters that you use with either of these
commands are the following:
#Innn or Identifier of input or output device file for which
#Onnn information is to be displayed. Default: all
device files used by the logon job or session are
displayed.
STATUS Summarizes the status information for all current
input or output device files. Default: status of
all device files used by the current job or session
is displayed.
SP Displays status information for currently spooled
device files associated with the logon job or
session. Default: displays status for all device
files.
item Displays status of current device files as
identified. Default: status for all device files
used by this job or session is displayed.
The item parameter has the following subparameters:
DEV= Displays the status of device
files
ldev or residing on the device
identified
classname by ldev. The classname
subparameter, available for
output devices only, displays
the status of files residing
on all devices in a class
name.
JOB= Displays the status of the specified device files.
You may use the following options:
@ - Displays files for all jobs and sessions.
@J - Displays all files for all jobs.
@S - Displays all files for all sessions.
#Jnnn - Displays all files for the specified job.
#Snnn - Displays all files for the specified
session.
ACTIVE, Displays status of all files
in the
OPENED, specified state. For output
files,
READY, READY has two subparameters:
or N displays the status of
nondeferred
LOCKED device files, and D displays
the status of deferred device
files. The LOCKED
subparameter applies only to
output device files.
The output may appear in two possible formats:
Format 1
DEV/CL DFID JOBNUM FNAME STATE FRM SPACE RANK PRI #C
45 #O32 #S16 $STDLIST OPENED
Format 2
19 FILES
0 ACTIVE
2 READY: INCLUDING 2 SPOOFLES, 2 DEFERRED
17 OPENED; INCLUDING 1 SPOOFLE
0 LOCKED; INCLUDING 0 SPOOFLES
3 SPOOFLES: 1572 SECTORS
OUTFENCE = 6
OUTFENCE = 2 FOR LDEV 13
Format 1 - Lists the device number or device class name of the device,
the device file identification, the job or session number, the file name,
the status (ACTIVE, OPENED, READY, or LOCKED), forms message indicator,
approximate disk space (output files only), rank, priority (output files
only), and number of copies needed (output files only).
Format 2 - A summary of device status information for the specified
device files. Outfence information is shown for output files only.
When you request information for a single device file, it is shown in
format 1. Information about more than one device file is displayed in
format 1 followed by format 2. Using the STATUS parameter displays
information in format 2 only.
MPE/iX 5.0 Documentation