SPP2040 Error at line <line>, column <column>:No place found for data declarations - 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

SPP2040 Error at line <line>, column <column>:No place found for data declarations

Language:

COBOL

Possible Cause:

Missing WORKING-STORAGE SECTION or LINKAGE SECTION. The precompiler saw the PROCEDURE DIVISION statement without finding a WORKING-STORAGE or LINKAGE SECTION header.

Possible Solution:

Insure that one of the above sections exists in the source program before the PROCEDURE DIVISION.