StatementError - Call-Level Interface Version 2

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

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

Purpose

Returns information about a problem with a statement in a multi-statement request when the DBCAREA Multi‑statement‑errors option setting was 'Y'.

 

Table 74: StatementErrorParcel Information  

Flavor

Mnemonic

TRDSPBEF

Field

Length

Value

192

TRDSPFSE

PBEFSNUM

2 byte unsigned integer

The number of the Teradata SQL statement in the Teradata SQL request in which the problem occurred.

 

 

PBEFINF

2 byte unsigned integer

Any value which is associated with the error code, described in the Teradata Messages manual for the message number that is the same as the error code.

 

 

PBEFCOD

2 byte unsigned integer

The database error code, described in the Teradata Messages manual for the message number that is the same as the error code.

 

 

PBEFMTL

2 byte unsigned integer

The number of bytes in the message in the PBEFMTX field; zero if no message text is available.

 

 

PBEFMTX

characters in the session character set when the request was initiated.

Any message text.