R15= 11 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.
R15= 12 Cylinder number on seek head was not the same number as on
the first seek.
cc=3 UncorrectableI/O error:
R15= 13CSW (8 bytes) returned to user Sense bytes are available if the
user issues aSENSE command.
Note: This code does not support fixed-blockDASD devices. If a program issues a DIAGNOSE Code X' 18' to a fixed-block DASD device, CP sets cc= 1 and places a
return code of 2 in register 15.DIAGNOSE Code X'l C' --Clear Error Recording Cylinders
Privilege class F
Execution ofDIAGNOSE Code X' 1 C' allows a user to clear the error recording
data on disk. The DMKIOEFM routine performs the clear operation.
EntryValues: The register specified as Rx contains a one-byte code value in the
low-order byte as follows:
Code FunctionX'Ol' 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 recordsDIAGNOSE Code X'20' --General I/O I Privilege class G
WithDIAGNOSE Code X'20', a virtual machine user can specify any valid CCW
chain to be performed on a tape, disk (including FBA) or unit record device. (An
exception:DIAGNOSE must not be used to read or write
record-overflow-formatted data onDASD devices.) No I/O interrupts are
reflected to the virtual machine; theDIAGNOSE instruction is completed only
when allI/O commands in the specified CCW chain are finished.
EntryValues: The register specified as Rx contains the virtual device address. The
Ry register contains the address of the CCW chain, andCP uses the high-order
byte of the register as a storage key for accessing the user's virtual storage.
The CCWs are processed via DMKCCWTR through DMKGIOEX, providing full
virtualI/O in a synchronous fashion (self-modifying CCWs 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 presĀ
ent an error condition in thePSW to the virtual user. Condition codes and error
codes are returned to the virtual system.DIAGNOSE Instruction in a Virtual Machine 235
through 15, or was not large enough for the given CCW string.
R15= 12 Cylinder number on seek head was not the same number as on
the first seek.
cc=3 Uncorrectable
R15= 13
user issues a
Note: This code does not support fixed-block
return code of 2 in register 15.
Privilege class F
Execution of
data on disk. The DMKIOEFM routine performs the clear operation.
Entry
low-order byte as follows:
Code Function
records and error records
With
chain to be performed on a tape, disk (including FBA) or unit record device. (An
exception:
record-overflow-formatted data on
reflected to the virtual machine; the
when all
Entry
Ry register contains the address of the CCW chain, and
byte of the register as a storage key for accessing the user's virtual storage.
The CCWs are processed via DMKCCWTR through DMKGIOEX, providing full
virtual
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.
ent an error condition in the
codes are returned to the virtual system.