Informix Error -16382: Command file filename is currently being processed.
Cause and resolution
Command file filename is currently being processed.
You used a READ command, either nested in an initialization file or in the input file of another READ command, that refers to one of the following:
* To itself
* To a previous READ command input file
* To a .4db initialization file that has not yet completed execution
You cannot execute a READ command that might create an infinite loop.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16382 fires when a READ command's input file refers back to itself, a previous READ
input file, or a still-executing .4db initialization file — per the official guidance. A
READ that could create an infinite loop can't execute.
- A
READfile referring to itself, per the official guidance — the first named case. - A
READfile referring to a previousREADcommand's input file, per the official guidance — the second named case. - A
READfile referring to a.4dbinitialization file that hasn't finished executing, per the official guidance — the third named case.
Solutions / Resolution
- Restructure the
.4dbfiles to remove the circular reference, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a circular READ reference.
Diagnostic Checks
- Trace the chain of
READcommands to find the file that refers back to an already-in-progress file.
Related Errors / Related Topics
- -16383 — "Number of nested read commands limit exceeded." A related nested-
READerror, about exceeding a depth limit rather than a circular reference.
A READ command would create an infinite loop — remove the circular file reference.