Message Charset Used - 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
Language
English (United States)
Last Update
2024-05-14
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
Product Category
Teradata Tools and Utilities

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.