Informix Error -2013: The output form file filename cannot be opened.
Cause and resolution
The output form file filename cannot be opened.
Possibly your account does not have permission to write in the specified directory; possibly the disk is full. In some systems, the problem might be related to a limit on the number of open files. Look for operating-system messages for more information.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2013 fires when the Form Compiler can't open the output form file it's trying to produce — per the official guidance, this can be a permissions problem, a full disk, or (on some systems) an open-file limit.
- The account lacking write permission in the specified directory, per the official guidance — the first named cause.
- The disk being full, per the official guidance — the second named cause.
- An open-file limit on some systems, per the official guidance — the third named possibility.
Solutions / Resolution
- Check for operating-system messages for additional diagnostic information, per the official guidance, to determine the root cause.
- Check write permission on the target directory.
- Check available disk space.
Examples
Checking permissions and disk space
$ ls -ld /path/to/output/dir
$ df -h /path/to/output/dir
Diagnostic Checks
- Check write permissions, disk space, and (on some systems) the open-file limit for the directory the output form file is being written to.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -2013 in this set yet.
The Form Compiler couldn't open its output file — check permissions, disk space, and open-file limits.