If code '04' is specified: Register Ry contains a X'02' in the low-order byte if
frame records are present on the error recording cylinders;X'OO' if no frame
records present.
Note: Codes'02' and '04' may both be specified (code '06') on invoking DIAGĀ
NOSE. Both an Rx and Ry value must be specified.iGNOSE Code X'30' -- Read One Page of LOGREC Data
Privilege class C, E, or F
Execution of DIAGNOSE CodeX'30' allows a user to read one page of the system
error recording area.
Entry Values: The register specified as Rx contains the DASD location (in VM/SP
control program internal format) of the desired record. The Ry register contains
the virtual address of a page-size buffer to receive the data. The DMKRP AGT
routine supplies the page of data.
Condition Codes: The condition codes returned are:
Condition
Code
o
1
2
3
Meaning
Successful read, data available
End of area, no dataI/O error
Invalid location, outside recording area
Note: Issuing DIAGNOSEX'30' against a locked page causes the page to become
unlocked.DIAGNOSE Code X'34' --Read System Dump Spool File
Privilege class C or E
A user can read the system spool file by issuing a DIAGNOSE Code X'34' instrucĀ
tion. However, this Diagnose Code cannot read spool files that containVMDUMP records --use DIAGNOSE Code X'14' for this purpose. If a program attempts to
use DIAGNOSE Code X'34' to readVMDUMP records, CP returns a condition
code of 2.
Entry Values: The register specified as Rx contains the virtual address of a
page-size buffer to receive the data. The Ry register, which must not be register
15, contains the virtual address of the spool input card reader.
Condition Codes: Ry+ 1, on return, may contain error codes as follows:
Condition
Code
o
1
2
3
Ry+l
Error Code
4
Meaning
Data transfer successful
End of file
File not found
Device address invalid
DIAGNOSE Instruction in a Virtual Machine 241
frame records are present on the error recording cylinders;
records present.
Note: Codes
NOSE. Both an Rx and Ry value must be specified.
Privilege class C, E, or F
Execution of DIAGNOSE Code
error recording area.
Entry Values: The register specified as Rx contains the DASD location (in VM/SP
control program internal format) of the desired record. The Ry register contains
the virtual address of a page-size buffer to receive the data. The DMKRP AGT
routine supplies the page of data.
Condition Codes: The condition codes returned are:
Condition
Code
o
1
2
3
Meaning
Successful read, data available
End of area, no data
Invalid location, outside recording area
Note: Issuing DIAGNOSE
unlocked.
Privilege class C or E
A user can read the system spool file by issuing a DIAGNOSE Code X'34' instrucĀ
tion. However, this Diagnose Code cannot read spool files that contain
use DIAGNOSE Code X'34' to read
code of 2.
Entry Values: The register specified as Rx contains the virtual address of a
page-size buffer to receive the data. The Ry register, which must not be register
15, contains the virtual address of the spool input card reader.
Condition Codes: Ry+ 1, on return, may contain error codes as follows:
Condition
Code
o
1
2
3
Ry+l
Error Code
4
Meaning
Data transfer successful
End of file
File not found
Device address invalid
DIAGNOSE Instruction in a Virtual Machine 241