Sometimes you need to export DB2 to Fixed-Width Text, you can use Withdata DBToFile as DB2 to fixedwidth Exporter (Unloader / Extractor / Dumper).
Works GREAT on Windows, Mac and Linux.
Support Windows, Linux, and macOS.
Can run in CLI (Command Line Interface), for Scheduled Tasks and Streams, for Automation.
After exporting DB2 to Fixed-Width Text in GUI, and Saving "DB2 to Fixed-Width Text" session, then you can:
After exporting DB2 to Fixed-Width Text in Command Line, then you can schedule and automate "DB2 to Fixed-Width Text" conversion task by: