NLS 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
abc123
Premium Member
Premium Member
Posts: 605
Joined: Fri Aug 25, 2006 8:24 am

NLS Warning

Post by abc123 »

I searched through the forum but could not find an answer.

I get the warning:

main_program: The NLS character map <ASCL_MS1252> specified may not be compatible with the character set specified by NLS_LANG;
you may get unexpected results from your database.

My settings are:

1)Character set specified by NLS_LANG: American_America.WE8ISO8859P1

2)Oracle Database NLS_LANGUAGE value: AMERICAN
in NLS_DATABASE_PARAMETERS and NLS_SESSION_PARAMETERS

3)On the target Oracle stage:
Select category to set map for: NCHAR/NVARCHAR2
Map name for 'NCHAR/NVARCHAR2': Project deault (ASCL_MS1252)
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So, are you really dealing with NCHAR / NVARCHAR2 data? What is your source? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
abc123
Premium Member
Premium Member
Posts: 605
Joined: Fri Aug 25, 2006 8:24 am

Post by abc123 »

No I am not. My source datatypes are regular data types such as Varchar2, Decimal, Bigint etc. I should probably select "Other Types".
dsuser_cai
Premium Member
Premium Member
Posts: 151
Joined: Fri Feb 13, 2009 4:19 pm

Post by dsuser_cai »

Check the character set in your data base side.

use:
select * from nls_database_parameters where parameter='NLS_CHARACTERSET'
also check your DS Director log. Especially the second log which has the environmental settings: Check the NLS.
Thanks
Karthick
abc123
Premium Member
Premium Member
Posts: 605
Joined: Fri Aug 25, 2006 8:24 am

Post by abc123 »

It is:
WE8ISO8859P1

What's interesting is, it happens in one environment but doesn't happen in another. I thoroughly checked both environments and the settings look exactly the same.
Post Reply