Subcode X'OOOO' Subcode X'0004' Condition
Code
o
1
2
3
3
3
3
3
3
Ry+l
4
8
12
1620 24
Error
Data transfer successful
End of file or if subcodeX'OOI8' and file is
at first record
File not found
Device address invalid
Device type invalid
Device busy, reader not ready, or device is a
real device
Fatal pagingI/O error
Page already locked forI/O File in use by system; probable paging or
spooling error.
Rx = start address of fuUpage virtual buffer
Ry = virtual spool reader address
Ry + 1 = function subcode
The specified device is checked for a file activated via DIAGNOSE. If one is
found, the next fullpage buffer is made available to the virtual machine via a call to
DMKRP AGT. If a file is not found, the chain of reader files is searched for a file
for the calling user and connected to the virtual device for further reading. If no file
is found, virtual condition code 2 is set. When the end of an active file is reached,
the device status settings are tested for"spool continuous." If not set, virtual conĀ
dition code 1 is set, indicating end of file. If the device is set for continuous input,
the active file is examined to determine whether or not it is a multiple-copy file. If it
is, reading is restarted at the beginning of the file. If it is not, the file is closed via
DMKVSUCR and the reader chain is searched for another input file. If no other
file is found, virtual condition code 1 is set. A specific DIAGNOSE X'14' SubcodeX'OOOO' must be issued to get the first spooled page again.
Notes:
1. SubcodeX'OOOO' returns a 3 condition code if an active monitor file or CP
dump file is found.
2. Issuing DIAGNOSE X'14' subcodeX'OOOO' against a locked page causes the
page to become unlocked.
Rx = virtual address of an SFBLOK buffer
Ry = virtual spool reader address
Ry+ 1 = flag, optional size of SFBLOK in doublewords, and function subcode.
If the specified device is in use via DIAGNOSE, theVSPLCTL block is checked to
see whether or not this is a repeated call for printer SFBLOKs. If it is, then the
chain search continues from the point where the last SFBLOK was given to the virĀ
tual machine. In this case, cc = 1 is set when there are no more print files. If this isDIAGNOSE Instruction in a Virtual Machine 229
Code
o
1
2
3
3
3
3
3
3
Ry+l
4
8
12
16
Error
Data transfer successful
End of file or if subcode
at first record
File not found
Device address invalid
Device type invalid
Device busy, reader not ready, or device is a
real device
Fatal paging
Page already locked for
spooling error.
Rx = start address of fuUpage virtual buffer
Ry = virtual spool reader address
Ry + 1 = function subcode
The specified device is checked for a file activated via DIAGNOSE. If one is
found, the next fullpage buffer is made available to the virtual machine via a call to
DMKRP AGT. If a file is not found, the chain of reader files is searched for a file
for the calling user and connected to the virtual device for further reading. If no file
is found, virtual condition code 2 is set. When the end of an active file is reached,
the device status settings are tested for
dition code 1 is set, indicating end of file. If the device is set for continuous input,
the active file is examined to determine whether or not it is a multiple-copy file. If it
is, reading is restarted at the beginning of the file. If it is not, the file is closed via
DMKVSUCR and the reader chain is searched for another input file. If no other
file is found, virtual condition code 1 is set. A specific DIAGNOSE X'14' Subcode
Notes:
1. Subcode
dump file is found.
2. Issuing DIAGNOSE X'14' subcode
page to become unlocked.
Rx = virtual address of an SFBLOK buffer
Ry = virtual spool reader address
Ry+ 1 = flag, optional size of SFBLOK in doublewords, and function subcode.
If the specified device is in use via DIAGNOSE, theVSPLCTL block is checked to
see whether or not this is a repeated call for printer SFBLOKs. If it is, then the
chain search continues from the point where the last SFBLOK was given to the virĀ
tual machine. In this case, cc = 1 is set when there are no more print files. If this is