Message-charset-used - Teradata Tools and Utilities

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-11-17
dita:mapPath
oxw1641281447623.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
vfj1470443597526
lifecycle
previous
Product Category
Teradata Tools and Utilities

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.