Question: how to export data from db2 database?
Answer: Sign in the operating system as the DB2 database user.
Create a new empty folder, which is used to store the data exported from the server database.
Execute the db2cmd command in the Run to enter the command window. ... 
Execute the following command and export the statement: