SPL1022: "%s:E(L%d), Unexpected text %s in place of END LABEL. - 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

SPL1022: "%s:E(L%d), Unexpected text %s in place of END LABEL.

Explanation:

The termination of the iterative statement is improper.

Generated By:

TSP module.

For Whom:

End user.

Remedy:

If you specified a label for an iterative statement see that at the end there is an end statement corresponding to the label specified.