convert from .xls to .csv

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
scorpion
Participant
Posts: 144
Joined: Thu May 12, 2005 4:19 am

convert from .xls to .csv

Post by scorpion »

Hello all,

May be this is a silly one,but I am just wondering how to convert an .xls file to .csv format using DSPXversion.

Thanks in advance
Thanx&Regards
scorpion
naveen19
Participant
Posts: 52
Joined: Tue Mar 06, 2007 9:08 am
Location: India
Contact:

Re: convert from .xls to .csv

Post by naveen19 »

scorpion wrote:Hello all,

May be this is a silly one,but I am just wondering how to convert an .xls file to .csv format using DSPXversion.

Thanks in advance
Hi,

Open new excel sheet
Block all the cells (ctrl a)
left click with mouse Format cells->select Text-> copy the data from the excel and paste it on that sheet ->save -> select option as type (csv) in the drop down
give the extension as .csv

Regards
Naveen.K
scorpion
Participant
Posts: 144
Joined: Thu May 12, 2005 4:19 am

Post by scorpion »

Thanks for the reply Naveen,

But I am looking to get this done through datastage px.

Any ideas..
Thanx&Regards
scorpion
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you have an ODBC driver for Excel on your DataStage server? If so, use that to read the worksheet and you can save the rows however you wish.
Last edited by ray.wurlod on Wed Aug 27, 2008 3:20 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

In other words, do you have a UNIX ODBC driver for Excel that your company has purchased? DataStage does not ship with one.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply