HPE NonStop SQL/MX Error – 2222 SQL module module name was not found in application file name.

In this blog post, let’s learn about the error message “2222 SQL module module name was not found in application file name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

2222 SQL module module name was not found in application file name.

Reason for the Error

You invoked mxCompileUserModule on an application file with a list of module names to SQL compile. This list includes the named module, which cannot be found in the application file.

Solution

Verify the spelling of the module name and retry the command