IndicData|CLIv2 - IndicData - 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
Language
English (United States)
Last Update
2024-05-14
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
Product Category
Teradata Tools and Utilities

Purpose

Sends data in Indicator Mode to the Teradata server.

Usage Notes

The IndicData parcel follows one of these parcels that contains a USING row descriptor:
  • Req
  • IndicReq
  • FMReq

This parcel is generated by CLIv2 at the direction of the application.

Parcel Data

The following information applies to the IndicData parcel.

Flavor Parcel Body Length Parcel Body Fields
68 2 to maximum body size
  • NullIndicators: 
  • organized as:
  • Data:
  • organized as:
  • (n+7)/8 bytes where n = the number of items in the Data Field,
  • bit 1, bit 2, . . . , bit i,. . . , bit n, unused bits
  • 1 to maximum body size - ((n+7) / 8) bytes
  •  item 1, item2, . . . , item i,..., item n

Field Notes

The following notes apply to IndicData fields.

The NullIndicators Field contains one bit for each item in the Data Field, stored in the minimum number of 8-bit bytes required to hold them, with the unused bits in the rightmost byte set to zero.

Each bit is matched on a positional basis to an item in the Data Field (that is, the ith bit in the NullIndicators Field corresponds to the ith item in the Data Field).

If a bit is... Then the value of the corresponding data item is...
ON null.
OFF not null.

Whether the null indicator bit is ON or OFF, the length of the corresponding data item is meaningful.

For example,

If the data item is to contain... Then...
a variable length string length portion of the data item is set to the actual length of the string (which is zero if the data item represents a null value).
an integer the data item occupies four bytes (which will be zero if the data item represents a null value).

The Data Field contains a formatted record of data:

The order of the items and their data types and lengths are determined by the USING row descriptor in the Teradata SQL statement.

The values of the items are represented in client internal format.

A null value is explicitly indicated by a null indicator bit, as explained in the earlier section.