A typical CCW 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,5 TIC,*-8,0,0 RD or WRT,DATA,CC+SILI,800 SEEK HEAD,B,CC,6 (omitted if HEAD number unchanged) SET SECTOR SRCH,B+2,CC,5 TIC,*-8,O,0 RD or WRT,DATA+800,SILI,800 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=l Error condition. Register 15 contains one of the following:
R15=1
R 15=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
Cylindernumber not in range of user's disk
Virtual device is busy or has an interrupt pending
cc=2 Error condition. Register 15 contains one of the following:
R15=5
R15=6
R15=1
R15=8
R15=9
R15=10 R15=11
R15=12
Pointer to ccw string not doubleword-aligned.SEEK/SEARCH arguments not within range of user's
storageREAD/WRITE CCW is neither Read (06) nor Write (05) READ/WRITE byte count=O READ/WRITE byte count greater than 204S READ/WRITE buffer not within user's storage
The value in R 15, at entry,w-as not a positive number froB 1 through 15. or was not large enough for the
givenCCW string.
Cylindernumber on seek head was not the same number as
on the first seek.
cc=3 UncorrectableI/O error:
R15=13CSW (8 bytes) returned to user Sense bytes are available if user issues a SENSE com.and Code == Clg!: Er!:.Q!: Cylinders Execution of DIAGNOSE code X'1C' allows a user with privilege class F to
clear the error recording data on disk. TheDftKIOEFft routine performs the clear operation. The register specified as Rx contains a one-byte
code value in the low-order byte as follows:
CodeXt01' 1'02' Function Clear-aid reformat all error recording, leaving any frame records intact
Clear andreformat all error recording cylinders, erasing
bothframe records and error records
CP Introduction 1-51
follows:
SEEK,A,CC,6
R15=1
R 15=2
R15=3
R15=4
R15=5
Device not attached
Device not 2319,
Cylinder
Virtual device is busy or has an interrupt pending
cc=2 Error condition. Register 15 contains one of the following:
R15=5
R15=6
R15=1
R15=8
R15=9
R
R15=12
Pointer to ccw string not doubleword-aligned.
storage
The value in R 15, at entry,
given
Cylinder
on the first seek.
cc=3 Uncorrectable
R15=13
clear the error recording data on disk. The
code value in the low-order byte as follows:
Code
Clear and
both
CP Introduction 1-51