Incomplete rows and validation routines
Db2 passes input rows to a validation routine. If an input row has fewer fields than the number of columns in the table, the routine must stop processing the row after the last input field.
Columns
for which no input field is provided and that are not in reordered
row format are always at the end of the row and are never defined
as NOT NULL. In this case, the columns allow nulls, they are defined
as NOT NULL WITH DEFAULT, or the columns are ROWID or DOCID columns.
Use
macro DSNDRVAL to get the starting address and row length for validation
exits. Add the row length to the starting address to get the first
invalid address beyond the end of the input buffer; your routine must not process
any address as large as that.