A DBA has set up HP Neoview tables with the ISO88591 character set, rather than unicode. Not sure why they did it…but apparently it is a done deal.
Because of this, literals need to have to be concatenated with _ISO88591 string…so your traditional where clause would need to go
from:
where src_actv_flg = ‘Y’
to:
where src.src_actv_flg = _ISO88591’Y’
The problem is when we use the IN operator with @prompt. We have no control over the number of values a user can enter. Apparently HP fixed this issue in their driver HP ODBC 2.4. HP ODBC isn’t currently supported driver (2.3.1 is).
HP is aware of the issue and will release a new driver which will solve the problem. The driver will do the translation so you won’t need to do crazy concatenations for LOVs. This will be HP ODBC 2.4.1 apparently. IN the meantime, we’ve dropped the ISO tables and gone back to unicode.
I tried playing with the lov, but each lov would have to passed as _ISO88591’Y’.