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 ...
The following examples demonstrate four techniques for building and executing dynamic SQL statements. Each example demonstrates processing a different combination of statement and input types: The ...