DataInfoX - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

DataInfoX

Purpose

For MultipartIndicator mode responses, describes the data contained in subsequent MultipartRecord parcels.

Usage Notes

DataInfoX is not returned if the statement was ECHO.

Parcel Data

The following table lists field information for DataInfoX.

 

Flavor

Parcel Body Length

Parcel Body Fields

146

8 to maximum body size

FieldCount:

Pair 1:

 

 .

 .

 .

 

Data Type:

Length:

 

 

 

4 bytes,

2 bytes

8 bytes

 

 

 

 

 

Pair i:

 

 .

 .

 .

Pair n:

Data Type:

Length:

 

 

 

Data Type:

Length:

2 bytes

8 bytes

 

 

 

2 bytes

8 bytes

Field Notes

The following notes apply to the Fields for the DataInfoX parcel.

  • The FieldCount, n, is the number of items within the Data Field in the corresponding MultipartRecord parcels. It also is the number of data type and length pairs in this DataInfoX parcel.
  • The Pair fields contains a description of the data type and length of the corresponding data item of the multipartrecord parcel. That is, the ith pair of data type and length values in the DataInfoX parcel corresponds to the ith data item in the Data Field of the Multipartrecord parcel. For the possible data types, see Table 16 on page 262.
  • 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 Multipartrecord parcel is represented in the DataInfoX parcel as a 64bit 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 Multipartrecord parcel is represented in the DataInfoX parcel in the first 4 bytes of the parcel body length as a unsigned binary, and the number of fractional digits is represented in the second 4 bytes of the parcel body length as a unsigned binary.