Informix Error -11280: Invalid keyword.
Cause and resolution
Invalid keyword.
This Informix ODBC error code is the same as SQLSTATE value 01S09. The following function can return this error code: SQLDriverConnect.
For SQLDriverConnect, the string in *InConnectionString contained a SAVEFILE keyword but not a DRIVER or FILEDSN keyword. (Function returns SQL_SUCCESS_WITH_INFO.)
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11280 fires when SQLDriverConnect's connection string has a SAVEFILE keyword without a
DRIVER or FILEDSN keyword — per the official guidance, this is the same as SQLSTATE
value 01S09.
- A
SAVEFILEkeyword present without an accompanyingDRIVERorFILEDSNkeyword, per the official guidance — the direct, only cause; the function returnsSQL_SUCCESS_WITH_INFO.
Solutions / Resolution
- Include a
DRIVERorFILEDSNkeyword alongsideSAVEFILE, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a SAVEFILE keyword used alone.
Diagnostic Checks
- Check the connection string for
SAVEFILE, and confirm it's paired withDRIVERorFILEDSN.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11280 in this set yet.
SAVEFILE was used in a connection string without DRIVER/FILEDSN — add one of those
keywords.