Checking for Connection Warnings The ESQL client application sends the value of its database locale (DB_LOCALE) to the database server. The database server must verify that this database is compatible with the database locale in the system catalog of the database that the client application wants to open. If this comparison fails, the database server sets the SQLWARN7 warning flag in the SQLCA structure and uses the database locale in the database system catalog. An ESQL client application can check for this warning as follows:
W