Message Return Code - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Message Return Code

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