db2_num_fields Returns the number of fields contained in a result set &reftitle.description; intdb2_num_fields resourcestmt &warn.undocumented.func; &reftitle.parameters; stmt Its description &reftitle.returnvalues; What the function returns, first on success, then on failure. See also the &return.success; entity