HPE NonStop SQL/MX Error – 13027 Only one EXEC SQL MODULE statement is allowed.

In this blog post, let’s learn about the error message “13027 Only one EXEC SQL MODULE statement is allowed.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

13027 Only one EXEC SQL MODULE statement is allowed.

Reason for the Error

You specified more than one EXEC SQL MODULE statement when only one is supported.

Solution

Remove the extra EXEC SQL MODULE statement, and resubmit