Mulriple excel sheets, multiple table

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
laiko
Premium Member
Premium Member
Posts: 35
Joined: Sun May 25, 2008 10:55 am

Mulriple excel sheets, multiple table

Post by laiko »

Our user have to drop 5 excel files. Each file loads to its corresponding table. Now, they wanted to have one excel file with 5 different sheets instead for their ease of maintenance. How is it possible (without manual intervention) that I load each sheet to a different table? Or any workaround you can think of? Thank you.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

This is an ODBC definition issue, i.e. how do you tell an ODBC connection to go to a specific Excel tab. As far as I know, it cannot be done.
DS_SUPPORT
Premium Member
Premium Member
Posts: 232
Joined: Fri Aug 04, 2006 1:20 am
Location: Bangalore

Post by DS_SUPPORT »

Converting 5 sheets to 5 different CSV files ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Using ODBC each worksheet in a workbook is a separate (system) table. Your DSN points to the workbook and you can import table definitions and otherwise work with the individual worksheets as separate tables.

The ODBC driver has its own restrictions, mainly that the worksheet be in tabular format and first line must be (legal) column names.
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