Informix Error -26173: Incorrect value for a keyword.
Cause and resolution
Incorrect value for a keyword.
The CREATE EXTERNAL TABLE statement contains an incorrect value for one of the USING clause keywords.
Review the statement to see if the value of the keyword is misspelled. For the MAXERRORS keyword, make sure the value is a valid number.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26173 fires when CREATE EXTERNAL TABLE's USING clause gives a keyword an incorrect
value — per the official guidance.
- A
USING-clause keyword's value is misspelled, per the official guidance — the first named case. - For
MAXERRORS, the value isn't a valid number, per the official guidance — the second, specifically named case.
Solutions / Resolution
- Review the statement for a misspelled keyword value, per the official guidance, and correct it.
- For
MAXERRORS, use a valid number, per the official guidance.
Examples
An invalid MAXERRORS value
CREATE EXTERNAL TABLE ext_tab SAMEAS orders
USING (DATAFILES ("DISK:/data/orders.unl"), MAXERRORS 'many', ...);
-- -26173: 'many' isn't a valid number
Corrected
CREATE EXTERNAL TABLE ext_tab SAMEAS orders
USING (DATAFILES ("DISK:/data/orders.unl"), MAXERRORS 10, ...);
Diagnostic Checks
- Check every
USING-clause keyword's value, and confirm it's correctly spelled and, forMAXERRORS, a valid number.
Related Errors / Related Topics
- -26172 — "There are too many keywords in USING clause." A related
USING-clause error, on a duplicated keyword rather than an incorrect value.
A USING-clause keyword's value was incorrect (misspelled, or not a valid number for
MAXERRORS) — correct it.