Informix Error -33015: Input file name has invalid suffix suffix-text.
Cause and resolution
Input file name has invalid suffix suffix-text.
The name of the input file that is submitted to the preprocessor must have the correct suffix. Check the command syntax and rename the file if necessary. The following file suffixes are required:
* .ec for IBM Informix ESQL/C
* .eco for IBM Informix ESQL/COBOL
* .ef for IBM Informix ESQL/FORTRAN
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33015 fires when the preprocessor's input file doesn't have the required suffix — per the
official guidance: .ec for ESQL/C, .eco for ESQL/COBOL, .ef for ESQL/FORTRAN.
- An input file named without the required language-specific suffix, per the official guidance — the direct, only cause.
Solutions / Resolution
- Rename the input file with the correct suffix for its embedded language, per the
official guidance (
.ec/.eco/.ef).
Examples
An incorrectly-suffixed ESQL/C source file
$ esql myprog.c # -33015: ESQL/C requires .ec, not .c
$ mv myprog.c myprog.ec
$ esql myprog.ec
Diagnostic Checks
- Check the input file's extension, and rename it to
.ec/.eco/.efas appropriate for the embedded language in use.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -33015 in this set yet.
The preprocessor's input file didn't have the required suffix — rename it to .ec
(ESQL/C), .eco (ESQL/COBOL), or .ef (ESQL/FORTRAN).