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.