Informix Error -4146: Too many input files specified.
Cause and resolution
Too many input files specified.
The executables fglc and fglp allow only 1 input file.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4146 fires when more than one input file is passed to fglc or fglp — per the official
guidance, these executables allow only one input file.
- More than one input file passed to
fglc/fglp, per the official guidance — the direct, only cause.
Solutions / Resolution
- Invoke
fglc/fglpwith only one input file at a time.
Examples
Passing two input files
fglc order.4gl customer.4gl
-- -4146: only one input file is allowed
Corrected
fglc order.4gl
fglc customer.4gl
Diagnostic Checks
- Check the
fglc/fglpcommand line for more than one input file, and invoke it separately for each.
Related Errors / Related Topics
- -4141 — "Unknown 4GL compiler flag "name" will be ignored." A related
fglc/fglpcommand-line error, about an unrecognized switch rather than too many input files.
More than one input file was passed to fglc/fglp — invoke it separately for each file.