17.00 - SPP4022 Error, Statement beginning at line <line>:Macro may not be used with EXEC; it <error info> - 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

SPP4022 Error, Statement beginning at line <line>:Macro may not be used with EXEC; it <error info>

Language:

C, COBOL, PL/I

Possible Cause:

Macro which has multiple statements or returns data has been submitted via an EXEC request.

Possible Solution:

Change the static EXEC request to use a macro cursor execution sequence.