SPP3041 Error at line <line>, column <column>:Required SQL terminator not found after <type> DECLARE SECTION - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 (SPP Prefix) Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Preprocessor2 for Embedded SQL
Release Number
15.xx, 16.xx, 17.xx, 20.xx
Published
June 2020
Language
English (United States)
Last Update
2023-11-20
lifecycle
Latest
Product Category
Teradata Tools and Utilities

SPP3041 Error at line <line>, column <column>:Required SQL terminator not found after <type> DECLARE SECTION

Language:

C, COBOL, PL/I

Possible Cause:

Missing SQL terminator on the BEGIN/END DECLARE SECTION statement. The DECLARE SECTION statements are required for C programs and optional for COBOL and PL/I. Error is most likely to occur for a C program.

Possible Solution:

Properly terminate the DECLARE SECTION statement.