Message Return Code - 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
ft:locale
en-US
ft:lastEdition
2024-11-15
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
lifecycle
latest
Product Category
Teradata Tools and Utilities

Usage Notes

The Message Return Code is a 2-byte field that is the CLI return code for any error that occurred while constructing the message. If no error occurred, binary zeroes are returned.

Language Variable Name
COBOL: DBCOMSGMR
C: DBCAREA.H: dbcoMsgR (case-sensitive)
Routine Action Taken
DBCHINI: writes
DBCHCL: writes
Used by Action Taken
application program reads
CLI returns the following error codes:
  • 0 – Message returned successfully
  • 1 – Truncated error message