Using db2look to mimic a database?
Few years ago we migrated our DB2 from 9.7 to 10.5. We also moved the database to new hardware and implemented data compression. Because of this we decided to create the database from scratch and export and import the data. 

We used db2look and db2move to do the job. However, there was no way to get the DDL created by db2look in the correct order. We had to split the generated script into different parts for creating tables, creating triggers, creating indexes, etc. 

Finally we end up with the following steps: 


export the existing data
create the new database
create bufferpools and tablespaces
create tables
create primary keys
create indexes
create views
load data
run reorgs and runstats
create stored procedures, user defined functions and triggers


I hope it helps, even it is not the answer you may have expected.