cc=2 Error condition. Register 15 contains one of the following: ..... r_r .t\IJ-J R15=6
R15=7
R15=8
R15=9 R15=10 R15=11
R15=12 __ L_ __ __ __ __ ... SEEK/SEARCH arguments not within range of user's
storage READ/WRITE CCW is neither Read (06) nor Write (05) READ/WRITE byte count=O READ/WRITE byte count greater than 2048 READ/WRITE buffer not within user's storage
The value in R15, at entry, was not a positive number
from 1 through 15, or was not large enough for the
given CCW string.
Cylinder number on seek head was not the same number as
on the first seek.
cc=3 Uncorrectable I/O error:
R15=13 CSW (8 bytes) returned to user
Sense bytes are available if user issues a SENSE command DIAGNOSE Code X'1 C' -- Clear Error Recording
Cylinders
Execution of DIAGNOSE Code X'1C' allows a user with privilege class F to
clear the error recording data on disk. The DMKIOEFM routine performs
the clear operation. The register specified as Rx contains a one-byte
code value in the low-order byte as follows: Function X'01' Clear-and reformat all error recording, leaving any
frame records intact X'02' Clear and reformat all error recording cylinders. erasing
both frame records and error records DIAGNOSE Code X'20' -- General I/O With DIAGNOSE ccw chain to DIAGNOSE must
data on DISD .achine; the
commands in
specified as
contains the
Code X'20', a virtual machine user can specify any valid
be performed on a tape or disk device. (An exception:
not be used to read or write record-overflow-formatted devices.) No I/O interrupts are reflected to the virtual DIAGNOSE instruction is completed only when all I/O the specified CCW chain are finished. The register
Rx contains the virtual device address. The Ry register
address of the CCW chain.
The celis are processed via DMKCCWTR through DMKGIOEX. providing full
virtual I/O in a synchronous fashion (self-modifying CClis are not permitted, however) to any virtual machine specified. Control returns
to the virtual machine only after completion of the operation or
detection of a fatal error condition. EREP support is provided for tape
and DASD devices only; all other devices will present an error conditien
in the PSi to the virtual user. Condition codes and error codes are
returned to the virtual system.
The condition codes and error codes returned are as follows: cc=O I/O completed with no errors Part 2. Centrol Prograa (CP) 191
cc=l Error condition. Register 15 contains the following:
R15=1 Device is either not attached or the virtual channel is
dedicated.
R15=5 Virtual device is busy or has an interrupt pending.
cc=2 Exception conditions.
following:
Register 15 contains one of the
R15=2
R15=3 Unit exception bit in device status byte=l Wrong length record detected.
cc=3 Error Condition:
R15=13 A permanent I/O error occurred or an unsupported device
was specified. The two rightmost positions of the
user's Ry register contain the first two sense bytes DIAGNOSE Code X'24' --Device Type and Features DIAGNOSE Code X'24' requests CP to provide a virtual machine with
identifying information and status information atout a specified virtual
device. The virtual machine must specify the virtual device for which
information is requested. CP returns information atout the virtual
device and associated real device in the Rx. Ry, and Ry+l registers. CP also provides a condition code identifying the specific device
information returned to the virtual machine. When a virtual machine issues DIAGNOSE Code X'24', the Rx register must contain the virtual device address for which information is
requested or the value negative 1 (-1). Specify -1 when the device is a
virtual console whose address is unknown to the virtual machine. When CP returns control to the virtual machine,
registers contain device information. The Ry
information about the virtual device and the Ry+l about the real device. If -1 was specified and CP
console, the Rx register contains information about
the Ry, Ry+l, and Bx
register contains
register informaticn
located the virtual
the virtual console.
CP obtains device information from three control blocks: virtual
device information from the virtual device block (VDEVBLOK), and real
device information from the real device block (RDEVBLOK) and from
NICBLOK. The following diagrams identify specific information returned by CP and show how to locate this information in the Rx, Ry, and Ry+1
registers. The symbolic names used in these diagrams are the symbolic
names used with VDEVBLOK, RDEVBLOK, and NICBLOK in 12gic Byte 0 RDEVTMCD - or -
NICTMCD Byte 1 Byte 2 Byte 3
virtual
device
address I 192 IBM VMj370 System Programmer's Guide
.J
Previous Page Next Page