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

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