Descriptions of I/O codes in server messages

IBM Spectrum Protect™ messages can contain input/output (I/O) codes. The codes can be operation codes, completion codes, additional sense codes (ASC), and additional sense code qualifier (ASCQ) codes.

Code descriptions are provided for I/O error messages from the IBM Spectrum Protect server for all supported operating systems.
Code
Description
OP
I/O operation that failed. These values can be displayed:
  • READ
  • WRITE
  • FSR (forward space record)
  • RSR (reverse space record)
  • FSF (forward space file)
  • RSF (reverse space file)
  • WEOF (write end of file mark)
  • OFFL (rewind and unload the tape)
  • FLUSH (flush)
  • GET_MEDIUM_INFO (get medium information)
  • LOCATE (locate)
  • QRYLBP (query logical block protection)
  • RDBLKID (read block ID)
  • SETLBP (set logical block protection)
  • SETMODE (set mode)
  • REW (rewind)
  • SPACEEOD (space end of data)
  • TESTREADY (test drive ready)
CC
I/O completion code. This value is returned by the device driver to the server when an error occurs. For a list of completion codes, see Completion code and operation code values overview. For information about tape library system calls and error descriptions for the library I/O control requests, see technote S7002972.
KEY
Byte 2 of the sense bytes from the error. The following lists some definitions:

0 = no additional sense bytes available
1 = recovered error
2 = not ready
3 = medium error
4 = hardware error
5 = incorrect request
6 = unit attention (for example, a SCSI bus reset)
7 = data protect
8 = blank check
9 = vendor specific
A = copy canceled
B = canceled command
C = obsolete
D = volume overflow
E = miscompare
F = reserved

ASC/ASCQ
ASC and ASCQ codes are bytes 12 and 13 of the sense bytes. The drive or library reference manual provided with the device contains tables explaining the values of the KEY, ASC, and ASCQ fields. Descriptions of standard ASC and ASCQ codes provides additional information about standard values of ASC and ASCQ codes.
Operating system error codes
When a command fails, the operating system returns an error number. To determine what the error codes mean, take the following action:
  • On AIX®, HP-UX, and Solaris, platforms, view the errno.h file in the /usr/include/sys directory. This file provides definitions for error codes.
  • On Linux platforms, view the errno-base.h and errno.h files in the /usr/include/asm-generic directory. These files provides definitions for codes.
  • On Windows platforms, contact Microsoft Support for help with error messages.