Informix Error -26234: API error: Invalid script.
Cause and resolution
API error: Invalid script.
The connect or disconnect script is invalid. Use the Scripter utility to re-create your connect or disconnect script. Check that the scripts are in the directory that the ANSAPI environment variable specifies.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26234 fires when the DataExtract connect/disconnect script is invalid — per the official guidance.
- The connect/disconnect script is invalid, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use the Scripter utility to re-create the connect/disconnect script, per the official guidance.
- Check that the scripts are in the directory the
ANSAPIenvironment variable specifies, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid connect/disconnect script.
Diagnostic Checks
- Check the script's location against
ANSAPI, and re-create it via the Scripter utility if invalid.
Related Errors / Related Topics
- -26235 — "API error: Invalid script password." A related script error, on the script's password rather than the script itself being invalid.
- -26246 — "API error: Cannot open script." A related script error, on the script file's permissions rather than its content being invalid.
The connect/disconnect script was invalid — re-create it with the Scripter utility.