Informix Error -3651
-3651 You have exceeded the number of opened tables allowed by your system.
Executing the statement would require that PERFORM exceed an operating system limit on the number of open files. You will have to reduce the number of tables that are included in the form specification.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3651 fires at runtime when executing a statement would require PERFORM to exceed the
operating system's open-file limit — per the official guidance, this is an OS-level limit, not
a form-compiler-imposed one.
- The form's statement requires opening more tables than the OS open-file limit allows, per the official guidance — the direct, only cause.
Solutions / Resolution
- Reduce the number of tables included in the form specification, per the official guidance.
Examples
Checking the OS open-file limit
ulimit -n
Diagnostic Checks
- Check the OS open-file limit (
ulimit -n), and reduce the form's table count if it's being exceeded.
Related Errors / Related Topics
- -2861 — "You have exceeded the maximum of number tables." A related table-count limit, enforced at compile time by the form compiler itself rather than at runtime by the operating system's open-file limit.
The form's statement requires opening more tables than the OS open-file limit allows — reduce the number of tables used.