SPI Programming Manual (G06.24+, H06.03+, J06.03+)

SPI Programming Manual427506-006
A-1
A Errors
This appendix lists all the error numbers defined by SPI. The two categories of errors
are:
Error numbers returned in the status parameter on calls to the SPI procedures
(errors 0 through 12)
General errors returned in SPI messages
(errors 13 through 37)
The ZSPI errors are listed by number in Table A-1
and by name in Table A-2. When
any of these errors (except error 0 or error 1) occurs, the header token ZSPI-TKN-
LASTERR is set to the error number.
Table A-1. ZSPI Errors, by Number (page 1 of 2)
Number Name Meaning
0 ZSPI-ERR-OK No error
1 ZSPI-ERR-INVBUF Invalid buffer format
2 ZSPI-ERR-ILLPARM Invalid parameter value
3 ZSPI-ERR-MISPARM Missing parameter
4 ZSPI-ERR-BADADDR Invalid parameter address
5 ZSPI-ERR-NOSPACE Buffer full
6 ZSPI-ERR-XSUMERR Invalid checksum
7 ZSPI-ERR-INTERR Internal error
8 ZSPI-ERR-MISTKN Token not found
9 ZSPI-ERR-ILLTKN Invalid token code or map
10 ZSPI-ERR-BADSSID Invalid subsystem ID
11 ZSPI-ERR-NOTIMP Operation not supported
12 ZSPI-ERR-NOSTACK Insufficient stack space
13 ZSPI-ERR-ZFIL-ERR File-system error
14 ZSPI-ERR-ZGRD-ERR Error from ZGRD procedure
15 ZSPI-ERR-INV-FILE Template file invalid
16 ZSPI-ERR-CONTINUE More text is available
17 ZSPI-ERR-NEW-LINE More text on new line
18 ZSPI-ERR-NO-MORE No more fields
19 ZSPI-ERR-MISS-NAME Name not found
20 ZSPI-ERR-DUP-NAME Name ambiguous
21 ZSPI-ERR-MISS-ENUM Enumeration not found
22 ZSPI-ERR-MISS-STRUCT Structure not found
23 ZSPI-ERR-MISS-OFFSET Offset not found