StatementError - Teradata Tools and Utilities

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

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Tools and Utilities
Release Number
20.00
Publication Date
October 2023
Content Type
Programming Reference
Publication ID
B035-2417-103K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
apo1695647516691.ditamap
dita:ditavalPath
obe1474387269547.ditaval
ft:sourceId
dita
dita:id
vfj1470443597526
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'.

Parcel Data

The following information applies to the StatementError parcel.

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 Teradata Vantage™ - Database Messages, B035-1096 for the message number that is the same as the error code.
PBEFCOD 2-byte unsigned integer Database error code, described in Teradata Vantage™ - Database Messages, B035-1096 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.