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.