Country-id - Teradata Tools and Utilities

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

Product
Teradata Tools and Utilities
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-18
dita:mapPath
lvt1544831946862.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Country-id is a two-byte field that specifies the country variant of the language to be used for all CLIv2 error messages returned in the Message-text DBCAREA field, and that were associated with the session being connected. The value specifies a two-character Country-id.

Because the Country-id qualifies the language, Language-id must also be specified. When a language is commonly used in several countries, the Country-id may be specified to select messages that are unique to that country.

The Country-id is defined by the ISO 3166-1 standard. The value is in EBCDIC, and both lowercase and uppercase characters are permitted.

In this language... The variable name for Country-id is...
COBOL DBCNICID
PL/I DBCNICID
C, C++ dbcniCid
IBM Assembler DBCNICID
This routine... Does this for Country-id...
DBCHINI writes
DBCHCL reads CON
Country-id is used by... To...
applications write

DBCHINI initializes the Country-id to the default value provided in the HSHSPB being used. The distributed HSHSPB provides no default for Country-id; therefore, unless a Country is specified, the Language-id alone defines the message language.