The table shows the possible indicator values that can be taken by an indicator variable of the hostindicator component or an sqlvar entry in the descriptor.
Indicator Value |
Meaning |
0 |
A value has been transferred between the database and the application program without errors. The value sent to the table column or host variable is a defined value. |
-1 |
The value of the host variables or of the corresponding table entry is the NULL value. |
-2 |
An error occurred (overflow, or division by
zero). |
> 0 |
A
truncated value has been sent to the host variable or to the corresponding
table column. |
SQL_DEFAULT_PARAM |
|
SQL_IGNORE |
Used to ignore LONG columns in GETVAL statements and PUTVAL statements |
See also: Database System Messages (sent through the sqlca structure)