17.10 - Message Charset Used - 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.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)

Usage Notes

Message Charset Used is a 1-byte field that indicates the character set used to construct the message. The value in this field is returned by CLIv2 rather than by the application.

Language Variable Name
COBOL: DBCOMSGMC
C: DBCAREA.H: dbcoMsgC (case-sensitive)
Routine Action Taken
DBCHINI: writes
DBCHCL: writes
Used by Action Taken
application program reads
Message Charset Used is a 1-byte character field that indicates the character set used to construct the message. The value of this field is set by CLIv2 rather than by the application.
  • 'S' indicates that the session character set is used.
  • 'D' indicates that the default CLIv2 character set (ASCII) is used.

The session character set is always used if known, but if an error occurs before the character set is known, the default CLIv2 character set is used.