17.00 - SPP2040 Error at line <line>, column <column>:No place found for data declarations - Teradata Tools and Utilities

Teradata Preprocessor2 (SPP Prefix) Messages

prodname
Preprocessor2 for Embedded SQL
Teradata Tools and Utilities
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-1096-PP2

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.