Page of GC20-1S07-7 As Updated April 1, 19S1 by TNL GN25-0S29 SU BCODE X' OFFF' Rx virtual address of a 252-byte buffer
Ry spool file ID number
If Ry is nonzero, the spool input chain is searched for a file with amatchinq ID number: nOne is found or if one is found that is owned
by a different virtual machine, cc=2 is set. The chain search is
continued from the file that was found, or from the anchor if Ry is
zero, for the next file owned by the caller, independent of file type,
class,INUSE flag, etc. If none is found, cc=1 is set. Otherwise, the SFBLOK and the first record of the file (generally, the TAG) are copied
to the caller's virtual storage buffer.DIAGNOSE Code X'18' --Standard DASD I/O Input/output operations to a direct access device, of the type used by CMS, can be performed from a virtual machine using DIAGNOSE Code X'lS'. No I/O interrupts are returned by CP to the virtual machine; the DIAGNOSE instruction is completed only when the READ or WRITE commands
associated with theDIAGNOSE are completed. The Rx register contains
the virtual device address of the direct access device. The Ry register
contains the address of a chain ofCCWs. The CCW chain must be in a
standard format thatCP expects when DIAGNOSE Code X'1S' is used, as
shown below.DIAGNOSE must not be used to read or write
record-overflow-formatted data. Register 15 must be loaded by the user
with the number of READS orWRITEs in the CCW chain.
A typicalCCW string to read or write two SOO-byte records is as
follows:
SEEK,A,CC,6SET SECTOR (not used for 2314/2319)
SRCH,A+2,CC,5TIC,*-S,O,O RD or WRT,DATA,CC+SILI,SOO SEEK HEAD,B,CC,6 (omitted if HEAD number unchanged) SET SECTOR SRCH,B+2,CC,5 TIC,*-S,O,O RD or WRT,DATA+SOO,SILI,SOO A SEEK and SRCH arguments for first RD/WRT B SEEK and SRCH arguments for second RD/WRT The condition codes and completion codes returned are as follows: cc=O I/O complete with no errors
cc=1 Error condition. Register 15 contains one of the following:
R15=1
R1S=2
R15=3
R15=4
R15=5
Device not attached
Device not 2319, 2314,3330, 3340, or 3350 Attempt to write on a read-only disk
Cylinder number not in range of user's disk
virtual device is busy or has an interrupt pending190 IBM VM/370 System programmer's Guide
Ry spool file ID number
If Ry is nonzero, the spool input chain is searched for a file with a
by a different virtual machine, cc=2 is set. The chain search is
continued from the file that was found, or from the anchor if Ry is
zero, for the next file owned by the caller, independent of file type,
class,
to the caller's virtual storage buffer.
associated with the
the virtual device address of the direct access device. The Ry register
contains the address of a chain of
standard format that
shown below.
record-overflow-formatted data. Register 15 must be loaded by the user
with the number of READS or
A typical
follows:
SEEK,A,CC,6
SRCH,A+2,CC,5
cc=1 Error condition. Register 15 contains one of the following:
R15=1
R1S=2
R15=3
R15=4
R15=5
Device not attached
Device not 2319, 2314,
Cylinder number not in range of user's disk
virtual device is busy or has an interrupt pending