SPL1066: "%s:E(L%d), Transaction control statements BT, ET are not allowed in ANSI mode."
Explanation:
If a stored procedure is created in ANSI mode, the Teradata (BTET) mode-specific transaction control statements, BEGIN TRANSACTION (BT) and END TRANSACTION (ET), cannot be specified in the SPL source text.
Generated By:
TSP module.
For Whom:
End user.
Remedy:
Remove the Teradata mode-specific transaction control statements or change the session mode to BTET before creating the procedure.