In this blog post, let’s learn about the error message “1222 The file type for file file-name is not valid.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
1222 The file type for file file-name is not valid.
Reason for the Error
You specified a Guardian file name that is not an SQL/MP database object.
Solution
Specify a Guardian file name for the SQL/MP database object