Proprietary & Confidential
305
A
Defines and Return Codes
This appendix documents the return (error) codes returned by PSPI functions
and the database length defines used by PSPI function parameters.
PSPI Return Codes
All stored procedure calls (SPCs) pass back a return (error) code in the first
return value. The table below lists the possible return codes.
In addition to the return codes listed here, SPCs may return SQL error codes,
which are negative numbers. Consult your Informix documentation for
descriptions of these.
Return Code
Description
0
OK (no error).
100
End of list reached or record not found.
101
The default subscriber group isn’t in the database.
102
The specified subscriber group isn’t in the database.
110
No prompt sets exist in the database.
111
The specified prompt set isn’t in the database.
120
Invalid DialOut. Must be one of the following:
0: Dial out not allowed
1: Dial out allowed
130
Invalid NameRecord. Must be one of the following:
0: NameRecord off
1: NameRecord on