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
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Message Charset Used

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.