Language Id
Usage Notes
Language Id is a 2-byte field that specifies the language to be used for all CLI error messages returned in the Message Text DBCAREA field, associated with the current session. The value specifies a two-character Language Id. The entire value is in ASCII and must be in upper case.
Language |
Variable Name |
COBOL: |
DBCNILID |
C: DBCAREA.H: |
dbcniLid (case-sensitive) |
Routine |
Action Taken |
DBCHINI |
writes |
DBCHCL |
reads (CON) |
Used by |
Action Taken |
application program |
writes |
DBCHINI initializes the Language Id to the default value provided in the clispb.dat file being used. Otherwise, it picks up the default language, English, from CLISPB.
If the default value for Language Id is not appropriate for the application, perform the following before calling DBCHCL for the connect function:
1 Set Change Options to “Y”.
2 Change the value as appropriate:
These are the only two languages supported in this release. If any other value is entered, the default language (English) is used.