16.20 - SPL5010: "%s:E(L%d), Using is not allowed in cursor %s ." - Teradata Vantage NewSQL Engine

Teradata® Vantage - Database Stored Procedure Compilation (SPL Prefix) Messages

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1096-162K

SPL5010: "%s:E(L%d), Using is not allowed in cursor %s ."

Explanation:

Using clause in OPEN statement is allowed in dynamic cursors only.

Generated By:

TSP module.

For Whom:

End user.

Remedy:

Remove the USING clause in OPEN or declare cursor as dynamic cursor.