Euro Symbol not populating in Oracle

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
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

What is your NLS setting ?

Try writing the value into a sequential file and check.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

This is a common question resulting from NLS and incorrect settings. Most likely your Oracle environment variable NLS_LANG is not set correctly at runtime. What value do you have and what NLS setting does your Oracle instance have?
rohanf
Participant
Posts: 30
Joined: Fri Oct 07, 2005 5:39 am
Location: pune india

Euro Symbol not populating in Oracle

Post by rohanf »

In Datastage the NLS is set in dsenv as below:
export NLS_LANG=american_america.WE8ISO8859P15

In Oracle the Character set used is = "UTF - 8"
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

typing in the Euro explicitly should be OK. What method are you using in your Oracle stage - insert/upsert or table load, that might be where the problem is creeping in.
nitkuar
Participant
Posts: 46
Joined: Mon Jun 23, 2008 3:09 am

Euro Symbol not populating in Oracle

Post by nitkuar »

Writing on behalf of Rohan:-
I had used below options:-

1:
Write Method : Load
Write Mode : Replace

Result: All records are loaded but without the Euro symbol. With below warning:-
Oracle_Enterprise_3,1: Invalid character(s) ([x20AC]) found converting Unicode string (code point(s): ROUNDING DISCOUNT ( [x20AC].81 )) to codepage ISO-8859-1, substituting.

2:
Write Method : Upsert
Upsert Order: Insert then Update
Upsert mode: user defined Update & Insert

Result: All records are rejected. Zero records loaded. Below is the warning:-
Oracle_Enterprise_3,1: Invalid character(s) ([x20AC]) found converting Unicode string (code point(s): ROUNDING DISCOUNT ( [x20AC].81 )) to codepage ISO-8859-1, substituting.
rohanf
Participant
Posts: 30
Joined: Fri Oct 07, 2005 5:39 am
Location: pune india

Euro Symbol not populating in Oracle

Post by rohanf »

I am still having this issue.
Can anybody please help.

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

Post by ArndW »

Since the UNIX level NLS_LANG setting is correct, I would look into your ORACLE setting. From SqlPlus or the tool of your choice, execute "SELECT * FROM NLS_SESSION_PARAMETERS;" to see what your database is set up as.
Post Reply