Informix Error -16323: User cannot specify more than one directory list.
Cause and resolution
User cannot specify more than one directory list.
You can use the -I option only once on the command line. However, you can specify more than one search path in the list following -I. Repeat the command, listing all the desired source-file search paths, separated by commas, following a single -I option.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16323 fires when the -I command-line option is used more than once — per the official
guidance.
-Iused more than once on the command line, per the official guidance — the direct, only cause; multiple search paths belong in a single comma-separated list after one-I.
Solutions / Resolution
- Repeat the command, listing all desired source-file search paths, comma-separated,
following a single
-Ioption, per the official guidance.
Examples
-I used twice
$ fgldb -I /usr/local/src -I /opt/src myprogram
Corrected
$ fgldb -I /usr/local/src,/opt/src myprogram
Diagnostic Checks
- Check the command line for more than one
-Ioption, and combine the search paths into a single comma-separated list.
Related Errors / Related Topics
- -16322 — "Missing directory list." The mirror-image error, about
-Igiven without any search path rather than given more than once. - -16324 — "User cannot specify more than one file name." The same single-use
restriction, applied to
-Frather than-I.
-I was used more than once — combine the search paths into one comma-separated list after
a single -I.