In this blog post, let’s learn about the error message “13511 End of input file was reached while processing EXEC SQL.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
13511 End of input file was reached while processing EXEC SQL.
Reason for the Error
NonStop SQL/MX reached the end of the input file while processing EXEC SQL. The preprocessor was looking for the termination of the EXEC SQL/MX statement and reached the end of the file before detecting the end of the statement. There can be mismatched quote marks or parentheses.
Solution
Correct the syntax of the EXEC SQL/MX statement and resubmit