HPE NonStop SQL/MX Error – 2211 Lexical error: unknown symbol character.

In this blog post, let’s learn about the error message “2211 Lexical error: unknown symbol character.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

2211 Lexical error: unknown symbol character.

Reason for the Error

You invoked mxCompileUserModule on an application file, possibly intending to SQL compile only a subset of its embedded module definitions, but you specified an unknown character in the module name list.

Solution

Review the module name list syntax. Verify that the module names are specified correctly and retry the command