16.20 - ErrorInformation - Teradata Tools and Utilities

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

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

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. However, if the Database requires a response buffer larger than 65535 bytes, but the Maximum-parcel is not set to H, the Error and ErrorInformation parcels will be returned.

This parcel is generated by the Teradata Database.

Parcel Data

The following table lists field information for ErrorInformation:

Flavor Mnemonic TRDSPBEI
Field Length Value
205 TRDSPFIE PBEIID 2 byte unsigned integer Information identifier, as one of the following: 1 if Minimum response buffer.
PBEILEN 2 byte unsigned integer Number of bytes of data following this field.

The parcel consists of one or more self-defining extensions that supply any context-dependent information. Each extension begins with the two fields above, followed by data that depends on the information ID.

The Minimum Response Buffer Extension

The Minimum Response Buffer extension consists of the following information:

TRDSAEMB
Field Length Description
PBEIMBSZ 4 byte unsigned integer The minimum size, required by the Database, of the response buffer, in bytes, for this request.