Informix Error -6029: No view has been set.
Cause and resolution
No view has been set.
Before the program calls dbupdate(), it must call dbsetview() to establish a view (that is, a specification of the columns to be returned and the buffer to receive them). Review the program logic to see that this action is performed.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-6029 fires when dbupdate() is called before dbsetview() has established a view — per the
archived catalogue.
dbupdate()called beforedbsetview()established a view, per the archived catalogue — the direct, only cause.
Solutions / Resolution
- Call
dbsetview()to establish a view before callingdbupdate(), per the archived catalogue.
Examples
N/A
No specific triggering statement is documented beyond the function-level condition described above.
Diagnostic Checks
- Confirm
dbsetview()precedes thedbupdate()call.
Related Errors / Related Topics
- -6016 — "No view has been set."
- -6019 — "No view has been set."
- -6045 — "No column or index has been selected."
Call dbsetview() to establish a view before calling dbupdate().