-943 Requested position out of range - 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

-943 Requested position out of range

Possible Cause

The application has attempted to position the cursor past the last statement in the request. A POSITION NEXT can cause this error if all statements in the request have been processed. Positioning the cursor to a specific statement within the request can cause this error if the statement number requested exceeds the number of statements in the request.

Possible Solution

Verify that the value of the statement number in the POSITION request is within the range of statements in the request.