Reading xls file with DS ?

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
TCHONG
Participant
Posts: 1
Joined: Tue Jan 25, 2005 5:35 am

Reading xls file with DS ?

Post by TCHONG »

hello everyone,

i would like to read an xls file with DS ? i try to do this with OLEDB component by creating an ODBC excel driver. DS succed to find the file with the test connection but there is still have this error on execution:

"DataStage Job 54 Phantom 4144
Program "DSP.Open": Line 122, Exception raised in GCI subroutine:
Access violation.
Attempting to Cleanup after ABORT raised in stage xls..MS_OLEDB_0
DataStage Phantom Aborting with @ABORT.CODE = 3"

Or sombody would have a solution with ODBC component ?

Thanks for your help (and sorry for my english :D )
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard. :D
Instead of using an OLEDB stage, try using an ODBC stage. When you import the "table definition" from Excel, make sure to check the box that says "include system tables": Excel ODBC driver presents worksheets as system tables.
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