db2 connect to sdbname db2look –d sdbname -e -t schema1.table1 -o table1.sql
db2 connect to tdbname db2 –td@ -vf table1.ddl --里面有源库的连接数据库的信息要修改成目标库的
db2 catalog tcpip node snode remote 源库IP server 源库端口 db2 catalog db sdbname as sdb at node snode