adilsonrapozojr
10/9/2018 - 10:22 PM

Extract all database through db2look

 db2look -d $DBNAME -e -a -l -x -f -td @ > $DBNAME-$(date '+%Y%m%d').ddl