Reading from excel

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
leonardo2
Participant
Posts: 1
Joined: Wed Aug 25, 2010 2:28 am

Reading from excel

Post by leonardo2 »

Can anybody tell me how to read a excel file from datastage
PhilHibbs
Premium Member
Premium Member
Posts: 1044
Joined: Wed Sep 29, 2004 3:30 am
Location: Nottingham, UK
Contact:

Re: Reading from excel

Post by PhilHibbs »

leonardo2 wrote:Can anybody tell me how to read a excel file from datastage
On a Unix server? Not sure if it's possible. On a Windows server, you can use ODBC and set it up as a data source.
Phil Hibbs | Capgemini
Technical Consultant
sultan@cts
Participant
Posts: 31
Joined: Thu Jul 05, 2007 11:57 pm
Location: India
Contact:

Re: Reading from excel

Post by sultan@cts »

leonardo2 wrote:Can anybody tell me how to read a excel file from datastage
Conver the Excel sheet to .csv file and use sequential file stage to read the same.
Thanks
Sultan
HariK
Participant
Posts: 68
Joined: Thu May 17, 2007 1:50 am

Re: Reading from excel

Post by HariK »

if the excel file has more than one sheet than converting to CSV will not work.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Find a UNIX-based ODBC driver for Microsoft Excel and use that.
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

Re: Reading from excel

Post by chulett »

HariK wrote:if the excel file has more than one sheet than converting to CSV will not work.
Sure it will, it just means you end up with more than one csv file.
-craig

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