I am using DB2 Connect on HP-UX 11i to read data from an AS400 using
SQL. DB2 Connect is converting a vertical bar (¦) character to this:
ª. Please see the example below. I have tried changing the user ID's
CCSID to 037 and this did not correct the problem. Any suggestions
would be greatly apprecated. Thanks.
Data as it appears on the 400:
150 KENNEDY DRIVE¦
Data when queried through DB2 Connect:
150 KENNEDY DRIVEª
One application developer offered this theory:
"That would be an erroneous translation. The vertical bar character
is a 7-bit ASCII character, code 124. It should not be translated
into a 16-bit character. It looks like there is an error in the
EDCIDIC to ASCII translation."
However, I am not sure how to stop DB2 Connect from converting this
incorrectly.