Changing the Value for Use Presence Bits - Call-Level Interface Version 2

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
20.00
Published
January 2024
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
lifecycle
latest
Product Category
Teradata Tools and Utilities
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 Use Presence Bits as follows.
    If the data string has been prepared in this mode... Then change the value for Use Presence Bits to...
    indicator (IndicData) Y
    record (Record) N

To send null data to the database, set Use Presence Bits to 'Y' and provide a data string as described for the IndicData parcel.

  • Because DBCHCL does not parse the request string, it is the application program’s responsibility to check whether the request string contains a USING clause and to set Use Presence Bits, Using Data Pointer, and Using Data Length appropriately.
  • Although Use Presence Bits is read during the call to DBCHCL for Connect and Run Startup functions and stored in the appropriate session and request control blocks, it is not used by the function. Neither function sends an input data string to the database.