Invalid character conversion warning

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
srilaxmi
Participant
Posts: 22
Joined: Thu Feb 28, 2008 5:21 am

Invalid character conversion warning

Post by srilaxmi »

Hi,

We are getting below warning in the datastage parallel job

Job is having one ODBC stage(gets data from SQL server) and a tranformer(does stringtodate of a job parameter) and a Oracle enterprise stage to truncate and load records into a oracle table.

Code: Select all

APT_CombinedOperatorController,0: Invalid character conversion found converting to ibm-1051, substituting.
I have removed the Stringtodate conversion and tried executing the job, but still iam getting the warning.

Let me know the possible solution for this.

Thanks in advance
Sri
gssr
Participant
Posts: 243
Joined: Fri Jan 09, 2009 12:51 am
Location: India

Post by gssr »

Set $APT_DISABLE_COMBINATION to 'True'and try to run the job.
RAJ
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You have a character in your data which is not mappable in the IBM-1051 character set.
srilaxmi
Participant
Posts: 22
Joined: Thu Feb 28, 2008 5:21 am

Post by srilaxmi »

Hi Gssr,

I Set $APT_DISABLE_COMBINATION to 'True' and re-run the job but still getting the same error :(


sri
Sri
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Disabling combination will tell you in which stage you are getting the error, but in this case it will be output enterprise stage.
srilaxmi
Participant
Posts: 22
Joined: Thu Feb 28, 2008 5:21 am

Post by srilaxmi »

Hi ArndW,

How can we overcome this issue?
Removing the non-mappable characters of IBM-1051 character set from the source data, is the only solution? or can we deal this in datastage job?

Thanks,
Sri
Sri
srilaxmi
Participant
Posts: 22
Joined: Thu Feb 28, 2008 5:21 am

Post by srilaxmi »

Hi All,

Is there is any way not to get this warning? I mean can we do some conversion on the columns having special characters? if yes, how can we do that?


Thanks
Sri
Sri
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try to discover which character(s) can not be mapped (is it into or out of?) the IBM-1051 character 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.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If you correctly define your character sets in source and target then you won't get conversion errors. Odds are you have incorrectly declared your NLS settings in the SQL server source stage.
srilaxmi
Participant
Posts: 22
Joined: Thu Feb 28, 2008 5:21 am

Post by srilaxmi »

The NLS setting in SQL server stage and Oracle stage is same - Project default(ISO-8859-1)

And i dont see any NLS option "ibm-1051" in any of the stages.

If both the NLS settings are same why I am getting this warning?

Any possible solution to avoid these warnings?

(Sorry for the late post :()

Thanks
Sri
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What are your UNIX runtime settings for NLS_LANG (check your director output for the value)?
srilaxmi
Participant
Posts: 22
Joined: Thu Feb 28, 2008 5:21 am

Post by srilaxmi »

I checked in Director log the value is

Code: Select all

NLS_LANG=american_america.WE8ISO8859P1

Thanks
Sri
Post Reply