17.10 - ErrorInformation - 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)

Purpose

After an Error parcel (flavor 49), provides additional information about the error.

Usage Notes

This parcel may follow an Error parcel to further describe the error. If the Error-code is 3177, ErrorInformation indicates the minimum response buffer size. Normally this is handled internally by CLIv2 and will not be returned to the application. But if the server requires a response buffer larger than 65535 bytes but Maximum-parcel is not set to H, the Error and ErrorInformation parcels will be returned.

This parcel is generated by the Teradata server.

Parcel Data

The following table lists field information for Error.

Flavor Parcel Body Length Parcel Body Fields
9 1 to maximum parcel size
  • InformationId:
  • InformationLength:
  • Information:
  • 2 byte unsigned integer
  • 2 byte unsigned integer
  • Variable length

Field Notes

The parcel body consists of one or more information entries, each of which consists of the following:
  • InformationId indicates the type of information entry, as one of the following:

    1 - Minimum Response Buffer Size

  • Information Length indicates the length of the following information.
  • Information depends upon the value of the InformationId field. For 1, a four byte integer specifying the minimum size of the response buffer for this request required by the server.