Trying to use the cursors with the null indicators I verified that in the presence of null values a zero value is always returned. 01 COM-NULL-IND PIC S9(4) COMP. * Cursor declaration EXEC SQL DECLARE ...