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

Stored Procedure Compilation (SPL Prefix) Messages

Product
Teradata Database
Release Number
16.10
Language
English (United States)
Last Update
2018-10-22
dita:id
B035-1096-SPL
lifecycle
archive
Product Category
Teradata® Database

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.