Informix Error -23751: Could not replace n macro in filename entry.
Cause and resolution
Could not replace n macro in filename entry.
An error occurred when the database server tried to expand the node host-name macro in the filename in a DATAFILES entry in an INSERT or SELECT statement for an external table.
If the error recurs, note all circumstances and contact IBM Informix Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23751 fires when the database server can't expand the node host-name macro in a
DATAFILES filename entry — per the official guidance.
- A failure expanding the node host-name macro, per the official guidance — no further named detail.
Solutions / Resolution
- If the error recurs, note all circumstances and contact IBM Informix Technical Support, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a macro-expansion failure.
Diagnostic Checks
- Record the full sequence of events, and escalate to IBM Informix Technical Support if the error recurs.
Related Errors / Related Topics
- -23752 — "Could not find coserver name for coserver coserver-number, errno, filename." A related node-macro-expansion error, on finding the coserver name specifically rather than the general macro expansion.
The node host-name macro in a DATAFILES entry couldn't be expanded — contact IBM
Informix Technical Support if it recurs.