Page 1 of 1

How to UTF-8 data into EBCDIC or ASCII form through paraller

Posted: Thu Jun 17, 2004 7:03 am
by Vijay Kumar
Hi,

I am using parallel extender v7, on Unix machine.

How do we accept the UTF-8 data through parallel extender, so that it get
convert into EBCDIC or ASCII form.

Thanks & Regards,

Vijay

Posted: Thu Jun 17, 2004 8:12 am
by Eric
Install DataStage with NLS enabled.

You can then set the MAP that you read your data (i.e. UTF)
and you can set the MAP to use to write the data. (i.e. EBCDIC)

The sequential file stage also has some special options for reading EBCDIC data.

Posted: Thu Jun 17, 2004 12:26 pm
by premreddyb
Hi,

I tried using NLS with my Input file UTF8 having japanese Cahraters. In the ouput the japneses characters are replaced by "?" .

Please suggest if you can overcome with that problem using NLS. please mail me if you any examples.

Regards,
Prem

Eric wrote:Install DataStage with NLS enabled.

You can then set the MAP that you read your data (i.e. UTF)
and you can set the MAP to use to write the data. (i.e. EBCDIC)

The sequential file stage also has some special options for reading EBCDIC data.

Posted: Thu Jun 17, 2004 1:35 pm
by Eric
You see a "?" normally due to a mapping/locale mismatch. I suggest you read the DataStage NLS guide and check the maps and locales that you are using against those you expect in your datafile.

Posted: Thu Jun 17, 2004 3:39 pm
by premreddyb
Hi Eric,

I have a sequentilfile which contains filed 7 to filed 11 contians Japanses characters. Could you please help me how to convert it to EBCDIC and then after applying few busienss rules I ahve to write it back to Japnese charcters to laod into some other database.

Regards,
Prem
Eric wrote:You see a "?" normally due to a mapping/locale mismatch. I suggest you read the DataStage NLS guide and check the maps and locales that you are using against those you expect in your datafile.