17.10 - Changing the Value for Locate Mode - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
17.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)

If the value provided is not appropriate for the application, perform the following steps before calling DBCHCL for the Connect, Run Startup, or Initiate Request function:

  1. Set Change-options to 'Y'.
  2. Change the value for Locate Mode as follows:
    • Y, if the data returned is to be made available in the response buffer.
    • N, if the data returned is to be made available in the Move area.
    A Locate Mode of Y is known as Locate Node. A Locate Mode of N, with Parcel Mode Fetch of Y, is known as Move Mode. (Locate Mode operates in conjunction with Parcel Mode Fetch.)
    The setting of Locate Mode affects the use of Fetch Maximum Data Length, Fetch Data Pointer, Fetch Returned Data Length, Fetch Parcel Flavor, and Fetch Error Indicator.
    Do not set both Variable Length Fetch and Locate Mode to Y.