Want to export data from multiple similar DB2 tables to one XML file?
Using Withdata software DB To File, a XML exporter for DB2 on Windows, MacOS, and Linux, you can export multiple similar DB2 tables to a single XML file in one go.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
Export multiple similar DB2 tables to a single XML file
Login to DB2 -> Select DB2 tables -> Set XML file options -> Export DB2 to XML
Choose DB2 and logon.
Click “Export Similar Tables” at task dialog.
Select XML file type.
1. Select similar DB2 tables.
2. Set XML file options.
3. Summary.
4. Export multiple similar DB2 tables to a single XML file.
After exporting, you can view output XML file.
Export multiple similar DB2 tables to a single XML file in command line
Save “DB2 to XML” session, then you can:
- Export multiple similar DB2 tables to a single XML file in Windows command line.
- Export multiple similar DB2 tables to a single XML file in Linux command line.
- Export multiple similar DB2 tables to a single XML file in macOS command line.
Set scheduled tasks for exporting multiple similar DB2 tables to 1 XML file
You can schedule and automate this “DB2 to XML” conversion task by:
1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.