Message Text - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-04-19
dita:mapPath
xen1544831946512.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Usage Notes

The Message Text field is the text of the message indicated by Return Code. Message Text is available in the DBCAREA after every call to DBCHCL even those with return code of zero.

Language Variable Name
COBOL: DBCAREA-MSG-TEXT
C: DBCAREA.H: msg_text
Routine Action Taken
DBCHINI: writes
DBCHCL: writes
Used by Action Taken
application program reads

Only Message Length bytes are guaranteed to be affected in Message Text.

An error message is returned when a CLI routine that uses the DBCAREA ends with a non-zero/Zero return code. The message will be contained in Message Text field within the DBCAREA only if the area addressed by Message Area Pointer is NULL. Message Length will return the length of the message.

Language used to return the message in this field is driven by the Language Id field in DBCAREA. If an error occurs before the Language Id is determined, CLI will return the error message in English.