We are connecting to a Informix database of Unicode through DRDA port.
And we have another database whose locale is English locale (en_us.819).
We are executing a query on English database using the connection to Unicode database (like dbname:'informix'.tablename).
We identified that this is happening when query try to retrieve 'XIC¢LILY NINETH' value which is in English locale database.
And same did worked fine with ODBC connection.
Error code : -4220, SQL State: null
Any help/pointers/workarounds please!
Information from the comments
I am working with two databases with different db locale, say:
- Database1 -> en_us.819 (English)
- Database2 -> en_us.57372 (UTF8)
I am using DB2 common server client to connect to database (means DRDA connection).
- Connect to Database1. Select * from user
execution successful. - Connect to Database 2 Select * from Database1:’Informix’.User
throws exception and it crashes the database.