Error 16289

Severity

10 or 20

Message text

%1!: No dynamic SQL statement '%2!' present.

Explanation

If srv_dynamic() cannot find the specified statement, the severity is 20. If srv_cursor_props() cannot find the specified statement, the severity is 10.

Action

Verify that the SRV_DYN_ID provided to srv_dynamic() is valid. When using srv_cursor_props(), the text of the cursor statement is actually the name of the prepared statement. Make sure the name is the same as when it was declared.

Additional information

Symbolic constant: SRV_ENODYN