Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Load MS Excel file in Db2 using RI

Hi,

I have requirement, load MS Excel file (.xls format) in to DB2 using RI cognos data manager. If it is possible how do configure the file .xls file in RI. Please help me from this issue.
Thanks in advance

0 votes



3 answers

Permanent link
Hi,

I have requirement, load MS Excel file (.xls format) in to DB2 using RI cognos data manager. If it is possible how do configure the file .xls file in RI. Please help me from this issue.
Thanks in advance


Hi sasakuma,
I assume you want to read data out of a MS Excel file and load it into the data warehouse. An approach I've taken is to effectively create a table in Excel by using a cell reference over the columns and rows of data to be read. The first row will act like field names which then can be used in the ETL query select clause. You'll also need to setup a connection to the Excel file through ODBC. Which can then be used in Data Manager.
If you want the file loaded as a binary, I have no idea.

0 votes


Permanent link
ODBC is the only way I've successfully connected to an excel file. If there is another more elegant approach, let me know.
Thanks
DAnny

0 votes


Permanent link
You can export the worksheet to a CSV file and use the Microsoft ODBC Text Driver. Using the Excel ODBC driver requires that you define a name for the data cells and it also has the drawback of the xls file being locked for some minutes after accessing the worksheet through that driver.

Hi,

I have requirement, load MS Excel file (.xls format) in to DB2 using RI cognos data manager. If it is possible how do configure the file .xls file in RI. Please help me from this issue.
Thanks in advance

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 22 '10, 9:33 a.m.

Question was seen: 8,028 times

Last updated: Sep 22 '10, 9:33 a.m.

Confirmation Cancel Confirm