I have many DBF files, which I need to transfer to DB2. Is there any
automatic tool to covert them ? I'm using now perl scripts and load
utility, but it takes a lot of time to prepare scripts for every file. I
looking for something faster and simpler.
JT.
As far as I know, there is no built-in support for DBF in db2. (I guess one
reason is the multitude of different dbf formats; but that is speculation on
my side.)
If you don't find a tool for it, I would suggest to implement your own
import routine. This are about 1000 lines of (C-)code you would need. It
is actually quite straight forward.
--
Knut Stolze
DB2 UDB Spatial Extender
IBM Silicon Valley Lab
You can use 3d party migration tool Chyfo (www.ispirer.com/products)
This is a command prompt tool (less 100k size) that can export DBF files to
flat files, generate native DDL statements like CREATE TABLE, CREATE INDEX
for IDB DB2 and scripts for IBM DB2 IMPORT/LOAD commands.
It's easy to use. For example, the command:
chyfopro.exe /d=dbf_db /t=* /target=db2
will export all tables from DBF database.
Best regards, Dmitry
"Jarosław Tabor" <jarek @ srv. pl> wrote in message
news:9suh7d$i51$2...@pingwin.acn.pl...