Resp - 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

The Resp (Response) parcel requests response data from the database. Typically, it carries the current length of the input (response) buffer. When the last record from a spool file is sent in response to a start or continue request containing a Resp parcel, the spool file is deleted.

Usage Notes

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

Parcel Data

The following table lists field information for the Resp parcel.

Flavor Field Parcel Body Length Parcel Body Fields
4 2 MaxMsgSize: 2 byte integers

Fields

MaxMsgSize is the maximum number of bytes that can be returned to the client in one response. The minimum allowable buffer size is 256 bytes, hence MaxMsgSize must be greater than or equal to 256. Also, MaxMsgSize must be less than or equal to the size of the input (response) buffer. If the next parcel to be returned by the database is larger than MaxMsgSize, an ERROR parcel that specifies how large the buffer must be is returned. If the buffer size is too small, a larger buffer must be allocated by the application program.