Page of GC20-1807-7 As Updated Aug 1, 1979 by TNL GN25-0492 On return to the issuer of DIAGNOSE '2C':
If code'01' is specified: Register Rx will contain the DASD
location (inVM/370 control program internal format) of the start of
the error recording area. Ry contains, in the low-order halfword,
the number of error recording cylinders.ir code 'VL' specified; Register Rx will contain the DASD location of the first error record (in CCPD format). The value
actually points to the last frame record written, or record 2 if no
frame records present.
If code'04' is specified: Register Ry will contain 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. Codes '02' and '04' may both be specified (code '06') on invoking DIAGNOSE. Eoth an Rx and Ry value must be specified. DIAGNOSE Code X'30' -- Read One Page of lOGREC
Data
Execution ofDIAGNOSE Code X'30' allows a user with privilege class C,
E, or F to read one page of the system error recording area. The
register specified as Rx contains the DASD location (inVM/370 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 DMKRPAGT routine supplies the page of data. The condition codes
returned are:
Condition o
1
2
3Me.@il!.9 Successful read, data available
End of cylinder, no data1/0 error
Invalid cylinder, outside recording areaDIAGNOSE Code X'34' --Read System Dump Spool F i I e
A user with privilege class C or E can read the system spool file by
issuing aDIAGNOSE Code X'34' instruction. 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 read VMDUMP records, CP returns a condition code of 2. 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. Ry+1,
on return, may contain error codes as follows:
Condition
__ __
o
1
2
3
3
3
3
Ry+1 4
8
12
16 Data transfer successful
End of file
File not found
Device address invalid
Device type invalid
Device busy
Fatal paging1/0 error 196 IBM VM/370 System ?Logrammer's Guide
If code
location (in
the error recording area. Ry contains, in the low-order halfword,
the number of error recording cylinders.
actually points to the last frame record written, or record 2 if no
frame records present.
If code
low-order byte if frame records are present on the error recording
cylinders;
Data
Execution of
E, or F to read one page of the system error recording area. The
register specified as Rx contains the DASD location (in
program internal format) of the desired record. The Ry register
contains the virtual address of a page-size buffer to receive the data.
The DMKRPAGT routine supplies the page of data. The condition codes
returned are:
Condition
1
2
3
End of cylinder, no data
Invalid cylinder, outside recording area
A user with privilege class C or E can read the system spool file by
issuing a
cannot read spool files that contain
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. Ry+1,
on return, may contain error codes as follows:
Condition
__
o
1
2
3
3
3
3
Ry+1
8
12
16
End of file
File not found
Device address invalid
Device type invalid
Device busy
Fatal paging