Informix Error -23926: Second arg of dbinfo(dbspace/coserverid) must specify a column.
Cause and resolution
Second arg of dbinfo(dbspace/coserverid) must specify a column.
The dbinfo() function has either 'dbspace' or 'coserverid' as the first argument and the second argument does not specify a column.
Check to see that the second argument specifies a column name qualified by a table name.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23926 fires when dbinfo('dbspace'/'coserverid', ...)'s second argument doesn't
specify a column — per the official guidance.
- A
dbinfo()second argument that isn't a column reference, per the official guidance — the direct, only cause.
Solutions / Resolution
- Specify a column name, qualified by a table name, as the second argument, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a non-column second argument.
Diagnostic Checks
- Check the
dbinfo()call's second argument, and supply a table-qualified column name.
Related Errors / Related Topics
- -23925 — "Second arg of dbinfo(dbspace/coserverid) cannot specify a view." A
related
dbinfo()argument error, on the argument naming a view-qualified column rather than not naming a column at all. - -23927 — "Third arg of dbinfo(dbspace/coserverid) must be string
'currentrow'." A related
dbinfo()argument error, on the third argument rather than the second.
dbinfo('dbspace'/'coserverid', ...)'s second argument didn't specify a column —
supply a table-qualified column name.