By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,851 Members | 1,668 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,851 IT Pros & Developers. It's quick & easy.

Import invoked from stored procedure

P: n/a
Hi,

I would like to import data from delimited text file into db2, but
because the import must be initiated from SAP Business One
application, the only way I know is to wrap it in a stored procedure.
Does anyone can share UDF which calls import api (db server is on aix)?

Thanks,
-- Artur Wronski

Feb 22 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Artur wrote:
Hi,

I would like to import data from delimited text file into db2, but
because the import must be initiated from SAP Business One
application, the only way I know is to wrap it in a stored procedure.
Does anyone can share UDF which calls import api (db server is on aix)?


You can easily modify the TRUNCATE procedure described in this article
http://tinyurl.com/9gnlo so that it takes a file name with which the import
API is called and, thus, the data is imported.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Feb 22 '06 #2

P: n/a
Knut, thanks. It will help.

-- Artur

Feb 22 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.