有人用过datastage进行excel文件的抽取吗

有人用过datastage进行excel文件的抽取吗

另外,excel文件需要ftp传送到本机,然后进行抽取
大家使用过这种方案吗?

之前做过对csv文件的处理,没有做过excel的
能直接处理吗?还是必须先把excel转成csv再进行处理?

作者: jlliuyi   发布时间: 2010-07-02

csv

作者: dbkiller   发布时间: 2010-07-02

经过确认,DATASTAGE不能直接解析EXCEL文件,XML或者CSV格式的没有问题
我们的实现方式如下:
利用FTP STAGE将XML格式文件取到本地,然后利用XML STAGE来解析文件,把数据入到数据库

作者: jlliuyi   发布时间: 2010-07-10

You can use excel file as input by importing the .xls file.

step1 --> Go to Administrative Tools -> Data Source (ODBC) --> System DSN. Click on Add button and configure the corresponding .xsl file in your system DSN. Make sure that workbook contains the name of your excel sheet.

Step2 --> Import the excel file into the datastage as ODBC table definition.

Step3 --> Use ODBC stage as input stage.

You should be able to use excel file very effectively. Please let me know if you face any problem.

作者: jinshen1979   发布时间: 2011-02-27