Informix Error -6014: No such flag value.
Cause and resolution
No such flag value.
The flag parameter to this function was not one of the defined values. When you call functions that take predefined flag values, use the names that the dbio.h include file defines, and pass only the flags that are defined for the particular function.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-6014 fires when a flag parameter isn't one of the function's defined values — per the archived
catalogue, flag constants must come from the dbio.h include file, and only the flags defined
for that particular function should be passed.
- An undefined or wrong-function flag value passed, per the archived catalogue — the direct, only cause.
Solutions / Resolution
- Use the flag constants defined in
dbio.h, per the archived catalogue, rather than hand-rolled values. - Confirm the flag is one actually defined for the specific function being called.
Examples
N/A
No specific triggering statement is documented beyond the function-level condition described above.
Diagnostic Checks
- Check the flag value against
dbio.h's definitions for this specific function.
Related Errors / Related Topics
No closely related error codes are cross-referenced for this code in this set yet.
Use only the flag constants dbio.h defines for the specific function being called.