How to read a excel file in datastage

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
elias.shaik
Participant
Posts: 51
Joined: Sat Dec 09, 2006 3:32 am

How to read a excel file in datastage

Post by elias.shaik »

Hi all,

Could some one tell how to read excel files in datastage.We are using Datastage 7.5.1 and installed on unix system.

And changing the files into some other files like CSV or text file is not preferred.

Thanks in advance.

regards,
Elias.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If your DataStage server is on UNIX then you will need to buy a 3rd party software package to read Excel files directly using ODBC. The vendor that springs to mind is DataDirect. There are also Java apps in the public domain that might be used to do this, but I have no experience with that.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: How to read a excel file in datastage

Post by chulett »

elias.shaik wrote:And changing the files into some other files like CSV or text file is not preferred.
You may want to reconsider that preference. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
elias.shaik
Participant
Posts: 51
Joined: Sat Dec 09, 2006 3:32 am

Post by elias.shaik »

I heard of other two options instead of drivers.
1.Perl script
2.Dump into Oracle database.

Not sure how this is possible , please provide pointers.
------------
Elias
tomk
Premium Member
Premium Member
Posts: 5
Joined: Mon Sep 04, 2006 10:46 am
Location: Dallas, TX

Post by tomk »

For Parsing Excel from Perl, take a look at the following URL:

http://www.opensourcetutorials.com/tuto ... page1.html

You will probably need to install the Perl Modules referenced in the article.
Post Reply