19 - 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

19

Possible Cause:

Internal error indicating 2PC style resource release when the application has not requested 2PC transaction mode. The current RDTIN structure for the SQL request has been modified to indicate a resource request (RDTCTYPE field = 900).

Possible Solution

Verify the application program has not inadvertently modified any RDTIN structures. Support intervention may be required to determine the source of this error if no application error can be found. The preprocessor may return the following SQLCODE values directly to the application. As noted earlier, some of these values may also be used to map Teradata Database errors. The first SQLERRD element should be tested to determine the error type that has been returned. The text associated with each SQLCODE is obtained by invoking PPRTEXT, as discussed above. These errors do not affect the status of the current transaction. Hence, there is no implicit rollback or commit as a result of any of the codes reported below (unless a mapped Teradata Database error occurs). When contacting support personnel, have the following information available: + The SQLCODE and the first SQLERRD element, SQLERRP + The execution environment where the error occurred + The precompiler release used to precompile the program + The SQL request causing the error + Access to the precompiler source output, as appropriate Support personnel may request additional information.