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

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.