blob image read and write to txt file...

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
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

blob image read and write to txt file...

Post by rasi »

Hi,

I am reading a blob image from SQL Server 2000. This image file has English and Non-English characters in it. When I read the image and write it as file it works for English. But when it reads Non-English Characters and writes to file the file is empty. Any idea what is this issue. I am using Iconv(MXOC) function to convert binary data into file.

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

Post by ray.wurlod »

Are you running DataStage with NLS enabled? If so, try conversion with "MU0C" rather than "MX0C". Also, what character map have you specified for reading the BLOB? It may be that the non-English characters - or, for that matter, any byte or byte sequence that is outside the printable range - has caused the problem.
DataStage does not claim to support binary data types.


Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
Post Reply