Informix Error -3670
-3670 Operating system error. Cannot seek into a temporary file.
Earlier PERFORM created a temporary file; now it cannot change the file position in that file. Perhaps another user deleted the file after it was created. Look for messages from the operating system that might give more detail on the problem.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-3670 fires when PERFORM can't change the file position in a temporary file it created
earlier — per the official guidance, this may happen if another user deleted the file after it
was created.
- Another user deleted the temporary file after it was created, per the official guidance — the named cause.
Solutions / Resolution
- Look for operating-system messages that might give more detail on the problem, per the official guidance.
Examples
Checking system logs for related messages
dmesg | tail -50
Diagnostic Checks
- Check whether the temporary file still exists, and review surrounding operating-system log messages for more detail.
Related Errors / Related Topics
- -3050 — "Operating system error. Cannot open a temporary file." A related temporary-file error, about failing to reopen the file rather than failing to seek within it.
- -3060 — "Operating system error. Cannot create a temporary file." A related temporary-file error, about failing to create the file in the first place.
- -3630 — "Operating system error. Cannot write into a temporary file." A related temporary-file error, about failing to write rather than failing to seek.
PERFORM can't seek within a previously-created temporary file — likely deleted by another
user; check the operating system's log messages for more detail.