Informix Error -33042: Cannot open input file inputfile.
Cause and resolution
Cannot open input file inputfile.
The embedded-language preprocessor cannot locate the file that you are trying to include in your program with the -I option. Check that the file is in the location that you have specified and that you have specified the location correctly. Also check that you have permission to open inputfile; if you do not, specify another directory or login with the required permission.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33042 fires when the preprocessor can't locate/open an -I-included input file — per
the official guidance.
- The
-I-specified file not found at the given location, per the official guidance — the first named cause. - No file-system permission to open the input file, per the official guidance — the second named cause.
Solutions / Resolution
- Check that the file is at the specified location, correctly spelled, per the official guidance.
- If permission is insufficient, specify another directory or log in with the required permission, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an unopenable input file.
Diagnostic Checks
- Check the
-Ipath's file existence, spelling, and file-system permissions.
Related Errors / Related Topics
- -33041 — "Cannot open output file outfile." The same class of file-access error, for the output file rather than an input file.
The preprocessor couldn't open an -I-included input file — check its path, spelling, and
permissions.