Unable to view the table contents

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
devidotcom
Participant
Posts: 247
Joined: Thu Apr 27, 2006 6:38 am
Location: Hyderabad

Unable to view the table contents

Post by devidotcom »

Hi All,

I have issue where in I am using a ODBC Enterprise stage and trying to read data from the table.
We have setup the connection and trying to access the Oracle table for the first time in the DataStage.
The job runs fine but I get this following error message. Also when I view the data from the table I see question marks (?) for each column values.

APT_CombinedOperatorController,0: Invalid character conversion found converting to ISO-8859-1, substituting. [nls/converter.C:830]

The NVL_CHARACTER SET forthe database is "AL32UTF8". I guess we have issues with the character set in DataStage.

Is there a solution to this. Thanks in advance
devidotcom
Participant
Posts: 247
Joined: Thu Apr 27, 2006 6:38 am
Location: Hyderabad

Post by devidotcom »

I have researched the site for Invalid Character conversion also. But could only get to know that the character set is not in sync with that of Oracle.

What are the environment variables APT_INPUT_CHARSET or APT_OUTPUT_CHARSET used. Can we use these here.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

How is the NLS_LANG environment variable 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.
devidotcom
Participant
Posts: 247
Joined: Thu Apr 27, 2006 6:38 am
Location: Hyderabad

Post by devidotcom »

How do I check that?
devidotcom
Participant
Posts: 247
Joined: Thu Apr 27, 2006 6:38 am
Location: Hyderabad

Post by devidotcom »

How do I check that?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The same way you'd check any environment variable.

Code: Select all

echo $NLS_LANG
executed from any DataStage job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
devidotcom
Participant
Posts: 247
Joined: Thu Apr 27, 2006 6:38 am
Location: Hyderabad

Post by devidotcom »

Thank you
I executed the command but it did not display anything an empty string
manishk
Participant
Posts: 32
Joined: Tue Oct 25, 2005 8:45 pm

Post by manishk »

Guess if you make NLS as NONE then it will work
Thanks
Manish
devidotcom
Participant
Posts: 247
Joined: Thu Apr 27, 2006 6:38 am
Location: Hyderabad

Post by devidotcom »

There are some patches that are been sent by IBM so I we can consider this to be workaround.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please give more details. What are the patches, with what eCase number(s) is each associated and, most importantly, did they fix the problem?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
devidotcom
Participant
Posts: 247
Joined: Thu Apr 27, 2006 6:38 am
Location: Hyderabad

Post by devidotcom »

Will keep this posted... We are yet to receive the same in a week or so. The case number was 712389
Post Reply