Informix Error -19843: Invalid IFX_AUTO_REPREPARE value specified.
Cause and resolution
Invalid IFX_AUTO_REPREPARE value specified.
The value of IFX_AUTO_REPREPARE must be either 0, 'off', or 'OFF' (to disable the Auto Re-prepare feature) or else 1, 'on', or 'ON' (to enable this feature, so that the database server automatically re-prepares a prepared object or re-optimizes an SPL routine, after a table that the prepared object or SPL routine references has been renamed or after its schema has been modified.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-19843 fires when IFX_AUTO_REPREPARE is set to a value other than 0/off/OFF or
1/on/ON — per the official guidance. When enabled, the server automatically
re-prepares a prepared object or re-optimizes an SPL routine after a referenced table is
renamed or its schema changes.
- An
IFX_AUTO_REPREPAREvalue outside the documented set, per the official guidance — the direct, only cause.
Solutions / Resolution
- Set
IFX_AUTO_REPREPAREto0/off/OFF(disable) or1/on/ON(enable), per the official guidance.
Examples
An invalid IFX_AUTO_REPREPARE value
$ export IFX_AUTO_REPREPARE=maybe
Corrected
$ export IFX_AUTO_REPREPARE=1
Diagnostic Checks
- Check
IFX_AUTO_REPREPARE's value against the documented on/off forms.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -19843 in this set yet.
IFX_AUTO_REPREPARE was set to an unrecognized value — use 0/off/OFF or
1/on/ON.