I am a Oracle DBA but new to DB2. The boss wants me to clone a DB2 database DEV, but for some reasons, we must do it in two steps: first, create an empty database PROD from DEV. The new database PROD must have exactly the same structure as DEV but it's empty. Second, export/import data from DEV to PROD.
In Oracle this could be done with exp/imp, but I don't know how to do it in DB2. Please help me to get this done.
Since I am new to DB2, detailed syntax or examples will be very appreciated.
Thanks in advance.
In Oracle this could be done with exp/imp, but I don't know how to do it in DB2. Please help me to get this done.
Since I am new to DB2, detailed syntax or examples will be very appreciated.
Thanks in advance.