16.20 - Message-charset-used - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

Message-charset-used is a one-byte field that indicates which character set was used to construct the message. The value is returned by CLIv2; it is not set by an application.

In this language... The variable name for Message-charset-used is...
COBOL DBCOMSGC
PL/I DBCOMSGC
C, C++ dbcoMsgC
IBM Assembler DBCOMSGC
This routine... Does this for Message-charset-used...
DBCHINI writes
DBCHCL writes
Message-charset-used is used by... To...
applications read

An EBCDIC 'S' indicates that the session character set when the request was issued was used while a 'D' indicates that the default CLIv2 character set (EBCDIC) was used. The session character set is always used if it is known, but if an error occurs before this character set is known, the default CLIv2 character set is used.