In this blog post, let’s learn about the error message “2206 Temporary file temp filename could not be created.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
2206 Temporary file temp filename could not be created.
Reason for the Error
You invokedmxCompileUserModule on an application file that has many embedded module definitions. The tool cannot create another temporary file to hold the contents of an embedded module definition.
Solution
Verify that you have write access to TMPDIR (the directory where temporary files are created) and that TMPDIR has free space. Delete unused temporary files from TMPDIR and retry the command