Unable to read text fields with Oracle ODBC

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
JeroenDmt
Premium Member
Premium Member
Posts: 107
Joined: Wed Oct 26, 2005 7:36 am

Unable to read text fields with Oracle ODBC

Post by JeroenDmt »

When I get data from an Oracle table using the ODBC Enterprise stage, all the text fields come out as unprintable characters. For example the text "AMSTERDAM" in the database comes out as

Code: Select all

"䅍協䕒䑁䴀    "
The texts are all normal texts without any special values.

I can read the same table no problem with the Oracle enterprise stage.

What makes it stranger.. when I read the same table with the server ODBC stage, the texts come out normal.

Does anybody know what could be causing this problem?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you have NLS enabled?
Do you have LANG_C or NLS_LANG environment variables set?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
JeroenDmt
Premium Member
Premium Member
Posts: 107
Joined: Wed Oct 26, 2005 7:36 am

Post by JeroenDmt »

Yes, NLS is enabled and NLS_LANG is set.
Post Reply