Japanese .xlsx data handling in DatStage 8.7
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 19
- Joined: Wed Jul 16, 2014 4:14 am
Japanese .xlsx data handling in DatStage 8.7
Facing issue in reading Japanese data in .xlsx format.
Tried to convert .xlsx to .csv,csv file converting Japanese charaters to ?????
What are the options available read/process the .xlsx(Japanese) data in DatStage 8.7(DB2 and Unix)
Please suggest.
Tried to convert .xlsx to .csv,csv file converting Japanese charaters to ?????
What are the options available read/process the .xlsx(Japanese) data in DatStage 8.7(DB2 and Unix)
Please suggest.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard.
There are no options for reading XLSX files on UNIX in DataStage 8.7.
You need first to export them to CSV or some other text format. And you will need to do this on a Windows machine set to use similarly coded Japanese characters.
In version 9.1.2 and later you might be able to use the Unstructured Data stage to read XLSX files directly.
There are no options for reading XLSX files on UNIX in DataStage 8.7.
You need first to export them to CSV or some other text format. And you will need to do this on a Windows machine set to use similarly coded Japanese characters.
In version 9.1.2 and later you might be able to use the Unstructured Data stage to read XLSX files directly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 19
- Joined: Wed Jul 16, 2014 4:14 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What is the language setting on the Windows machine where you're saving the CSV file, for this seems to be at the heart of the problem. Can you (or have someone else) save the CSV file on a Japanese version of Windows?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 19
- Joined: Wed Jul 16, 2014 4:14 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The apparent problem at source appears to have been resolved. You now need accurate knowledge about how the Japanese characters are encoded in the CSV file, and you must effect a binary transfer to guarantee that nothing in the file is changed during its transition to UNIX file system. This should also mean that the file has Windows line terminators, so you may need to allow for that in the Sequential File stage used to read the file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What are you using to view the contents of the DB2 table? Do not rely upon DataStage's data browser (View Data) - it is notoriously bad when the language is anything but Amurrican. Try some other tool - even the db2 command itself.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.