HPE NonStop SQL/MX Error – 2202 Application file is not an application (ELF or SQL) file.

In this blog post, let’s learn about the error message “2202 Application file is not an application (ELF or SQL) file.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

2202 Application file is not an application (ELF or SQL) file.

Reason for the Error

You invoked mxCompileUserModule on an application file that is not a NonStop Open System Services (OSS) ELF object file.

Solution

Verify that the name application file is an ELF object file. Verify that the name of application file is spelled correctly, and retry the command