Informix Error -2014: There were an incorrect number of arguments on the operating system command line. At least one (1) argument is expected.
Cause and resolution
There were an incorrect number of arguments on the operating system command line. At least one (1) argument is expected.
When you run the Form Compiler from the command line, you must specify either the -d option or the name of a form.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2014 fires when the Form Compiler is run without the required command-line arguments — per the
official guidance, it needs either the -d option or a form-file name.
- The Form Compiler invoked with no arguments at all, per the official guidance — the direct, only cause.
Solutions / Resolution
- Provide either the
-doption or the name of a form file when invoking the compiler, per the official guidance.
Examples
Running the Form Compiler correctly
$ form4gl order_entry
Diagnostic Checks
- Check the exact command line used to invoke the Form Compiler, and confirm it includes
-dor a form-file name.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -2014 in this set yet.
The Form Compiler was invoked without a required argument — supply -d or a form-file name.