HPE NonStop SQL/MX Error – 2062 Static cursor name has already been defined in this module. The previous definition, as a dynamic cursor, is being retained and this latest one ignored.

In this blog post, let’s learn about the error message “2062 Static cursor name has already been defined in this module. The previous definition, as a dynamic cursor, is being retained and this latest one ignored.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

2062 Static cursor name has already been defined in this module. The previous definition, as a dynamic cursor, is being retained and this latest one ignored.

Reason for the Error

You defined the static cursor name twice in this module.

Solution

This is an informational message only; no corrective action is needed