Hi everybody,
I've a job reading from SQL Server 2005 using DRS (Dynamic RDBMS) stage and writing to Oracle 9 using Oracle OCI stage. The problem I have is that in source DB there is a field with two non-breaking space characters (ASCII 160) that when trying to write to Oracle fails due to and "Inserted value too large for column" because does not recognize these characters.
Doing a substring of this field to be able to insert it into Oracle, I can see four squares instead of two spaces (meaning unknown characters). That's why the error I see in DataStage.
The worst thing is that job works fine in our production environment but does not in our recently created testing env. And I am talking about using same source and target databases since I was able to do a small test in production env using test DBs.
I suspect might be the NSL configuration but I can't do much from my developer role. DataStage Admin has been notified but said both environments have same settings.
Other valuable info:
-Oracle's NLS character map is AMERICAN_AMERICA.UTF8
-I use NCHAR when reading from SQL Server
-DataStage's NSL character map is UTF8 (Administrator->Project->NLS)
One hint I have is that in Director, under the "Environment variable settings:" information; in prod env appears the record NLS_LANG=AMERICAN_AMERICA.UTF8 whereas in test does not. Not sure if means something.
How can I verify NLS is configured properly? Any idea why this is not working in one environment?
I appreciate any help.
Handling non-breaking space character (ASCII 160)
Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.
Moderators: chulett, rschirm, roy
-
luisluevano
- Participant
- Posts: 2
- Joined: Tue Mar 06, 2007 9:42 am
Return to “IBM<sup>®</sup> Infosphere DataStage Server Edition”
Jump to
- Moderators' Choice
- ↳ Editor's BLOG Corner
- ↳ Ask the Experts! - Dads and Grads
- ↳ DSXchange Testimonials
- ↳ Cognos (IBM BI)
- FAQs
- ↳ FAQs
- ↳ FAQ Discussion
- DataStage
- ↳ General
- ↳ IBM<sup>®</sup> Infosphere DataStage Server Edition
- ↳ IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- ↳ Archive of DataStage Users@Oliver.com
- IBM<sup>®</sup>Infosphere Products<sup></sup>
- ↳ Business Glossary
- Suggestions
- ↳ Site/Forum
- ↳ Enhancement Wish List
- Consulting
- ↳ Talent
- ↳ Looking for Talent
- Support
- ↳ Parameter Manager
- ↳ Compile All Plus
- Usergroup Forums
- ↳ Usergroup Central Forum
- ↳ Heartland Usergroup Forum
- The Written Word
- ↳ Articles, White Papers and Tips and Tricks
- ↳ Product Documentation
- Third Party Applications
- ↳ Third Party Applications
- Product Derivatives
- ↳ Functions
- ↳ Routines
- ↳ Jobs
- ↳ Logs
- Tools
- ↳ Tools Forum
- Category
- ↳ Infosphere Master Data Management
- ↳ Data Quality Best Practices
- ↳ IBM QualityStage
- ↳ Information Analyzer (formerly ProfileStage)
- ↳ IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
- ↳ IBM<sup>®</sup> DataStage TX
- ↳ BI
- ↳ Data Integration