16.20 - Fetch-data-pointer—Move Mode - Teradata Tools and Utilities

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

Teradata Tools and Utilities
September 2019
Programming Reference

In the Move Mode, Fetch-data-pointer is set by the application with a pointer to the area into which data is to be moved before fetching results from the listed requests.

This routine... Does this for Fetch-data-pointer in Move Mode...
DBCHINI writes
DBCHCL reads (FET)

The following table explains how Fetch-data-pointer works in Move Mode (Locate-mode = N).

IF Varying-length-fetch is set to this value in DBCAREA... THEN the address in Fetch-data-pointer points to the ...
N first byte of the parcel body.
Y two-byte length field that precedes the returned data.

In Move Mode, only the number of bytes that constitute the length are affected in the move area. The bytes beyond are unaffected.

In Move Mode, Fetch-data-pointer is used by... To...
applications write (FET)