Aug 1, 1979
where xx has a high numeric value and nn has a low numericvalue. The machine the DIAGNOSE Loue X;28; must be in the
supervisor mode at the time it issues theDIAGNOSE instruction. When DIAGNOSE Code X'28' is issued, the Rx register contains the
address of theTIC or NOP CCW that was modified by the virtual machine.
The Ry register contains the device address in bits 16 through 31. Rx
and Ry cannot be the same register. The addresses specified in the Rx
register, the new address in the modifiedTIC CCW, and the new CCW list
to which the modifiedTIC CCW points must all be addresses that appear
real to the virtual machine:CP knows these addresses are virtual, but
the virtual machine thinks they are real.
The condition codes (cc) and completion codes are as follows:cc=O The real channel program was successfully modified; register
15 contains a zero.
cc=1 There was probably an error in issuing theDIAGNOSE instruction. Register 15 (R15) contains one of the following
completion codes:
R15=1 The same registerwas specified for Rx and Ry.
R15=2 The device specified by the Ry register was not found.
R15=3 The address specified by the Rx register was not within
the user's storage space.
R15=4 The address specified by the Rx register was not
doubleword aligned.
R15=5 ACCW string corresponding to the device (Ry) and
address (Rx) specified was not found.
R15=6 TheCCW at the address specified by the Rx register is
not aTIC nor a NOP, or the CCW in the channel program
is not aTIC nor a NOP. R15=7 The new address in the modified TIC CCW is not within
the user's storage space.
R15=8 The new address in the modifiedTIC CCW is not
doubleword aligned.
cc=2 The real channel program cannot be modified because a channel
end or device end already occurred. Register15 contains a The virtual machine should restart the modified channel
program.DIAGNOSE Code X'2C' -- Return DASD Start of LOGREC Execution of DIAGNOSE Code X'2C' allows a user with privilege class C, E, or F to find the location on the disk of the error recording area,
the number of error recording cylinders, and the location of the first
error record.
The register specified as Rx contains a one-byte code in the
low-order byte, indicating the function to be performed:X'01' - Return the DASD location of the start of the error recording
area, and the number of error recording cylinders.X'02' - Return the HDRSTART value (DASD location of first error
record)• X'04' - Return indication of whether there are frame records on the
error recording cylinders.Part 2. Control Program (CP) 195
where xx has a high numeric value and nn has a low numeric
supervisor mode at the time it issues the
address of the
The Ry register contains the device address in bits 16 through 31. Rx
and Ry cannot be the same register. The addresses specified in the Rx
register, the new address in the modified
to which the modified
real to the virtual machine:
the virtual machine thinks they are real.
The condition codes (cc) and completion codes are as follows:
15 contains a zero.
cc=1 There was probably an error in issuing the
completion codes:
R15=1 The same register
R15=2 The device specified by the Ry register was not found.
R15=3 The address specified by the Rx register was not within
the user's storage space.
R15=4 The address specified by the Rx register was not
doubleword aligned.
R15=5 A
address (Rx) specified was not found.
R15=6 The
not a
is not a
the user's storage space.
R15=8 The new address in the modified
doubleword aligned.
cc=2 The real channel program cannot be modified because a channel
end or device end already occurred. Register
program.
the number of error recording cylinders, and the location of the first
error record.
The register specified as Rx contains a one-byte code in the
low-order byte, indicating the function to be performed:
area, and the number of error recording cylinders.
record)
error recording cylinders.