OCONV

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

Post Reply
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

OCONV

Post by thumsup9 »

Some rows are getting dropped before inserted into the target table with the below warning.

LimitedCust..tmfCust.InsertCust: DSD.BCIPut call to OCONV failed.
Column: Description, NLS mapname: MS1252, Column data (after conversion): Clothes issue: 62082-04BOL?edition # 82 of 200 leaking , Column data (in hex, before conversion) 504E41205061696E742049737375653A202036323038322D3034424F4CC29765646974696F6E2023203832206F6620323030206C65616B696E6720

-----When I ran it with NLS set to NONE all rows are processed.
The Description column is Nvarchar (on source) to Varchar(on Target)

Any ideas appreciated,

Thanks,
DeepakCorning
Premium Member
Premium Member
Posts: 503
Joined: Wed Jun 29, 2005 8:14 am

Post by DeepakCorning »

As far as my understanding is this error may be because of the special characters in the data which the defined NLS is not able to take care of. Is this the actual data or it is some what changed in the warning message ( I see question marks in there)
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

Post by thumsup9 »

I could find a similar question as mine on the forum, but its not giving an answer though..

http://dsxchange.com/viewtopic.php?t=10 ... 4b0352855d

please let me know if you need more inputs..
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

Post by thumsup9 »

Yes DeepakCorning

couple of the source values in 'Description' column that got dropped are

Clothes Issue: 62082-04BOL?edition # 82 of 200 leaking
XL Chassis: fork locks ?falling out",

Thanks
DeepakCorning
Premium Member
Premium Member
Posts: 503
Joined: Wed Jun 29, 2005 8:14 am

Post by DeepakCorning »

Is this the actual data in your source ??

Clothes Issue: 62082-04BOL?edition # 82 of 200 leaking
XL Chassis: fork locks ?falling out",
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

Post by thumsup9 »

Yes , This is how my source data looks like. What is the best way to handle this. Does this mean that the NLS map MS1252 is not able to handle the data or is there anything else I need to check here before coming to a conclusion.

Appreciate your comments..

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

Post by ray.wurlod »

Can you leave the map set to NONE and process the hex data with

Code: Select all

Iconv(InLink.HexString, "MX0C") 
to see what you get?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

Post by thumsup9 »

Hi Ray,

all the rows are processed but the the target description column is empty.
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

Post by thumsup9 »

Hi ,

The source rows that are getting dropped have a special character in it.This wont allow me to paste it as it is.Its a square block between the words. Does this help?

When I paste it looks like below here
——————————————————————————————

Thanks
Post Reply