SPL5004: "%s:E(L%d), Referring to undefined statement %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

SPL5004: "%s:E(L%d), Referring to undefined statement %s ."

Explanation:

PREPARE / EXECUTE refers to a statement name that doesn t exist.

Generated By:

TSP module.

For Whom:

End user.

Remedy:

If PREPARE statement reports compilation error then make sure that the DECLARE CURSOR statement is compiled without any errors. If EXECUTE statement reports error, PREPARE the statement being executed first.