DataInfo - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-01
dita:mapPath
ggf1488824663364.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Purpose

Returns a description of the items within the Data Field of the corresponding Indicator Mode Record parcels.

Usage Notes

DataInfo parcel is not returned if the statement was an ECHO statement. This parcel is generated by Teradata Database.

Parcel Data

Flavor Parcel Body Length Parcel Body Fields
71 6 to maximum body size
  • Field Count:
  • Pair 1:
  • .
  • .
  • .
  • Pair i:
  • .
  • .
  • .
  • Pair n:
  • Data Type:
  • Length:
  • Data Type:
  • Length:
  • Data Type:
  • Length:
  • 2 bytes
  • 2 bytes
  • 2 bytes
  • 2 bytes
  • 2 bytes
  • 2 bytes
  • 2 bytes

Field Notes

The following notes apply to the fields for the DataInfo parcel.
  • The FieldCount, n, is the number of items within the Data Field in the corresponding Indicator Mode Record parcels. It also is the number of data type and length pairs in this DataInfo parcel.
  • The Pair fields contains a description of the data type and length of the corresponding data item of the record parcel. That is, the ith pair of data type and length values in the DataInfo parcel corresponds to the ith data item in the Data Field of the Indicator Mode Record parcel. See Data Type for available data types.
    • If the data type of the ith data item is not decimal, then the length (maximum length for VARBYTE and VARCHAR) of the ith data item in the Indicator Mode Record parcel is represented in the DataInfo parcel as a 16-bit unsigned binary.
    • If the data type of the ith data item is decimal, then the total number of digits in the ith data item in the Indicator Mode Record parcel is represented in the DataInfo parcel in the first byte of the parcel body length as an 8-bit unsigned binary, and the number of fractional digits is represented in the second byte of the parcel body length as an 8-bit unsigned binary.