Connect with EXCEL

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
chitravallivenkat
Participant
Posts: 106
Joined: Thu Jun 08, 2006 8:51 am

Connect with EXCEL

Post by chitravallivenkat »

Hi,

How can excel be connected with datastage?

Thanks,
Venkat
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

On your windows platform, quite easily using ODBC and defining a system DSN on your server.
chitravallivenkat
Participant
Posts: 106
Joined: Thu Jun 08, 2006 8:51 am

Post by chitravallivenkat »

does it need UserId and Password also? or only DSN is enough?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

DSN is enough for Excel access.
chitravallivenkat
Participant
Posts: 106
Joined: Thu Jun 08, 2006 8:51 am

Post by chitravallivenkat »

Thanks ArndW.
chitravallivenkat
Participant
Posts: 106
Joined: Thu Jun 08, 2006 8:51 am

Post by chitravallivenkat »

should Fields need to create in the excel like DB?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could you perhaps rephrase that? You do need to define rows and columns so that the ODBC drivers can detect them and access them; if that is what you are asking.
chitravallivenkat
Participant
Posts: 106
Joined: Thu Jun 08, 2006 8:51 am

Post by chitravallivenkat »

I mean i want to store the data there. For that, do we need to define the columns?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I can't recall - why don't you try it without predefined columns to see? If it doesn't work you'll have your answer.
chitravallivenkat
Participant
Posts: 106
Joined: Thu Jun 08, 2006 8:51 am

Post by chitravallivenkat »

ArndW,

I did not create any job using excel. I want to tell the requirements to client to connect excel. That is why i asked these questions. So now I understood from your answer that to connect with excel, DSN should be created and columns also should be defined.

Thanks Arndw to spend your valuable time to me.

Thanks.
scottopizza
Premium Member
Premium Member
Posts: 51
Joined: Tue Feb 05, 2002 3:06 pm

Post by scottopizza »

One solution we use is to create .csv (comma delimited) text files. Then when the user double clicks on one of these files, .csv is associated with Excel on their PC - so it opens in Excel. The nice thing about this is that we don't have to concern ourselves with what version of Excel the user has and we don't have to mess with different versions of Excel on the server. So, just an idea if you did not already know about it.

- Scott
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The ODBC driver for Excel requires - mandates - that the worksheet be in "pure" tablular format with column headings.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply