Informix Error -11079: Scope type out of range.
Cause and resolution
Scope type out of range.
This Informix CLI error code is the same as SQLSTATE value S1098. The following function can return this error code: SQLSpecialColumns().
An invalid fScope value is specified. For a list of valid values for the fScope parameter, check the Informix CLI Programmer's Manual.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11079 fires when SQLSpecialColumns()'s fScope argument is invalid — per the official
guidance, this is the same as SQLSTATE value S1098.
- An invalid
fScopevalue, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the Informix CLI Programmer's Manual for the valid
fScopevalues, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid fScope value.
Diagnostic Checks
- Check the
fScopeargument passed toSQLSpecialColumns(), and confirm it's a documented valid value.
Related Errors / Related Topics
- -11078 — "Column type out of range." The same class of invalid-argument error on
SQLSpecialColumns(), forfColTyperather thanfScope. - -11080 — "Nullable type out of range." The same class of invalid-argument error on
SQLSpecialColumns(), forfNullablerather thanfScope.
SQLSpecialColumns()'s fScope argument was invalid — check the CLI manual for valid
values.