Withdata Software

Export DB2 query to TSV using dynamic filename with current date

Want to export data from DB2 query result to TSV using current date as file name?

Try Withdata DBToFile, a DB2 to TSV converter for Windows, Linux, and macOS, Export DB2 data to TSV, Easy and Fast.

Download Withdata DBToFile
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit

Export DB2 query result to TSV file using dynamic filename with date and time

Login to DB2 -> Enter DB2 SQL statement -> Set TSV filename template including date -> Export DB2 query to TSV using current date as file name

Choose DB2 and logon.

“Export From Query” for “TSV to DB2“.

Select TSV file type.

1. Enter DB2 SQL query.

2. Set TSV file options. Enter filename template, including date, #yyyy# is for current year, #mm# month, #dd# day, #hh# hour, #mi# minute, #ss# second.

3. Set rows options.

4. Export DB2 query results to TSV file. Dynamically created TSV file name using present system time.

After exporting, you can view output TSV files.


More about DB2 to TSV converter