VARCHAR converting to NVARCHAR

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
sreeramkumart
Participant
Posts: 9
Joined: Tue Nov 27, 2007 10:59 pm

VARCHAR converting to NVARCHAR

Post by sreeramkumart »

Hi,

When i am using Run Time Column propagation, all the columns having data type VARCHAR are converting to NVARCHAR. I do not want to convert the datatype.

I need to stop this in job level not in administrator level. Is it possible? Please let me know.

Thanks,
Sreeram
throbinson
Charter Member
Charter Member
Posts: 299
Joined: Wed Nov 13, 2002 5:38 pm
Location: USA

Post by throbinson »

How is the Metadata defined for these columns in the sources and the targets of the job?
sreeramkumart
Participant
Posts: 9
Joined: Tue Nov 27, 2007 10:59 pm

Post by sreeramkumart »

We are giving the table name in Read method in Oracle Stage and not defining any columns expecting it will pick all the columns of the table and propagate, It is working but only issue is it is making all the varachar columns as Nvarchar.
sreeramkumart
Participant
Posts: 9
Joined: Tue Nov 27, 2007 10:59 pm

Post by sreeramkumart »

We are giving the table name in Read method in Oracle Stage and not defining any columns expecting it will pick all the columns of the table and propagate, It is working but only issue is it is making all the varachar columns as Nvarchar.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I am guessing that you have NLS enabled, and that therefore DataStage is expecting to work with Unicode data and will take every opportunity (such as during runtime column propagation) to do so.

If you don't like it, disable RCP and specify your data types explicitly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sreeramkumart
Participant
Posts: 9
Joined: Tue Nov 27, 2007 10:59 pm

Post by sreeramkumart »

NLS is enabled for my project. How to override the project level settings at job level to make NLS disabled.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Each (well, most) stage type has an NLS tab.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sreeramkumart
Participant
Posts: 9
Joined: Tue Nov 27, 2007 10:59 pm

Post by sreeramkumart »

Thanks for your reply Ray, But I am not able to find any values that we can set the NLS disable in the oracle stage, There are lot of other codes available Can anyone let me know which one I have to select to make the NLS Character disabeld.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There is a pseudo-map called NONE. Might be worth trying that.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
edwds
Premium Member
Premium Member
Posts: 32
Joined: Mon May 01, 2006 1:06 pm

Post by edwds »

Does the Oracle Bulk Loader stage support NVARCHAR2 and NCHAR without NLS being enabled?
Post Reply