![]() |
|
The risnull() function checks whether a C or an ESQL/C variable contains a null value.
The risnull() function determines whether ESQL/C variables of all data types except var binary and lvarchar pointer variables contain a null value. To determine whether a var binary or lvarchar pointer host variable contains null, use the ifx_var_isnull() macro. For more information, see page B-258.
This sample program is in the risnull.ec file in the demo directory.
For a complete listing of the exp_chk() function, see Guide to the exp_chk.ec File or refer to the exp_chk.ec file for a listing of this exception-handling function.