15.10 - ResultSummary - Call-Level Interface Version 2

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

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

Purpose

Returned in response to a successfully executed Teradata SQL statement when using Enhanced Statement‑status.

It also indicates successful completion of other types of requests (for example, a logon request) when using Enhanced Statement‑status.

Usage Notes

This parcel is generated by the Teradata Database.

Parcel Data

The following information applies to the ResultSummary parcel.

 

Table 73: ResultSummary Parcel Information 

Flavor

Parcel Body Length

Parcel Body Fields

171

24 to maximum parcel size

Activity Count:

Statement No:

Field Count:

Activity Type:

8 byte unsigned integer

2 byte unsigned integer

2 byte unsigned integer

2 byte unsigned integer
See
“Activity Type” on page 429 for the possible activity types

 

 

Mode:

one EBCDIC character, as one of the following:

F ‑ if Responsemode is Field

R ‑ if Responsemode is Record

I ‑ is Responsemode is Indicator

M‑ if Responsemode is MultipartIndicator

blank if Responsemode does not apply to the request

 

 

Reserved:

nine bytes

 

 

Optional self‑defining extensions:

zero or more bytes

Zero or more self‑defining extensions may be present to convey situation‑dependent information. When multiple extensions are present, their order is undefined. Each extension begins with the following fields:

 

Field

Length

Description

Information Id

2 byte unsigned integer

Identifies the type of extension, as one of the following, 1 Warning Message.

Information Length

2 byte unsigned integer

Specifies the length of subsequent data in the extension (does not include the length of the extension header).

The Warning Message extension consists of the following fields:

 

Field

Length

Description

Warningnumber

2 byte unsigned integer

Identifies the sever message number of the warning

Warningmessage

Length varies

The text of the server message, in the request’s character set, associated with the Warningnumber.