DB2 import multiple TXT files into a single table in one go

by

Want to import multiple TXT files into a single DB2 table?

Using Withdata software File To DB, a TXT to DB2 converter, you can import multiple TXT files into a single DB2 table in one go.

Download FileToDB Download FileToDB

Import multiple TXT files into a single DB2 table

Login to DB2 -> Choose TXT files -> Set DB2 table -> Import TXT files to DB2 table

Choose DB2 and logon.

import multiple TXT files to 1 DB2  table - Choose DB2 and logon

Click “Wizard – N Files To 1 Table” at task dialog.

import multiple TXT files to 1 DB2  table - task window

Select the “TXT” file type.

load multiple TXT files to 1 DB2  table - select file type

then show the wizard.

1. Select a folder that constains TXT files.

Support large ( > 4GB ) TXT files.

insert multiple TXT files to one DB2  table - select a folder

2. Config first TXT file importing options.

import multiple TXT files to one DB2  table - config first file

3. Select a DB2 table and config fields.

Merge TXT files into a DB2  table - select table

4. Preview data will be in DB2 table.

put TXT files into a single DB2  table - preview

5. Import multiple TXT files to the DB2 table.

Merge TXT files into a DB2  table - import data

View imported data in DB2 table

load TXT files into a DB2  table - view data

Import multiple TXT files to DB2 in command line

Save “multiple TXT files to DB2” session, then you can:

Set scheduled tasks for importing multiple TXT files to DB2

You can schedule and automate this converting task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS)

2) Set scheduled task.


More about FileToDB – TXT to DB2 converter

30-day free trial Download FileToDB