Fetch-data-pointer—Locate-mode - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems - 20.00

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Tools and Utilities
Release Number
20.00
Publication Date
October 2023
Content Type
Programming Reference
Publication ID
B035-2417-103K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
apo1695647516691.ditamap
dita:ditavalPath
obe1474387269547.ditaval
ft:sourceId
dita
dita:id
vfj1470443597526
Product Category
Teradata Tools and Utilities

In the Locate-mode, Fetch-returns a pointer to the data when the fetch function completes.

This routine... Does this for Fetch-data-pointer in Locate-mode...
DBCHINI writes
DBCHCL writes (FET)

The following table explains how Fetch-data-pointer works in Locate-mode (Locate-mode = 'Y').

If you set Parcel-mode-fetch in DBCAREA to this value... And you set Varying-length-fetch in DBCAREA to this value... Then the address in Fetch-data-pointer points to the...
Y N first byte of the parcel body.
Y Y two-byte length field that precedes the returned data.
N N first byte of the buffer, which is the first byte of the parcel header of the first parcel.
In Locate-mode, Fetch-data-pointer is used by... To...
applications read (FET)