Db2-Fast load stage

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
nchincholikar
Participant
Posts: 21
Joined: Sun Jul 18, 2004 11:32 pm

Db2-Fast load stage

Post by nchincholikar »

Hi,
I'm trying to load Russian-Cyrillic data to Db2-UDB table using Db2 Fast/Bulk load; all the data is loaded except Cyrillic.

I tried same using Db2-UDB stage and I'm able to load Cyrillic data too. Does anybody know why this happening.

Thanks,
Narendra
Klaus Schaefer
Participant
Posts: 94
Joined: Wed May 08, 2002 8:44 am
Location: Germany
Contact:

Re: Db2-Fast load stage

Post by Klaus Schaefer »

Narendra,

I think you have to modify the generated load script, e.g.:

... MODIFIED BY codepage=819 ...

Look for the "MODIFIED BY" phrase and insert the "codepage=xxx" after this. I had to do it once for German Umlaute loading, and then it worked. So for the load stage, you should set "LOAD Immediate=NO", then modify the generated load script as shown above and then invoke the load script.

Hope this helps....

Klaus
nchincholikar
Participant
Posts: 21
Joined: Sun Jul 18, 2004 11:32 pm

Post by nchincholikar »

Thanks Klaus,
It's working ...!

I tried using "LOAD Immediate=YES" for this we need to set DB2 Bulk Load stage property for "FILE TYPE MODIFIER codepage=819"

Using this I can directly run the job without invoking the load script.

Thanks again for showing me correct path ...

Regards,
Narendra
Klaus Schaefer
Participant
Posts: 94
Joined: Wed May 08, 2002 8:44 am
Location: Germany
Contact:

Post by Klaus Schaefer »

Ah, that's fine!

> property for "FILE TYPE MODIFIER"

I have never recognized/tested that option in the stage... ;-)

Happy loading!

Klaus
Post Reply