move DB from different OS use db2look , runstats, export & load
from source
get DDL ( for Tablespaces, table index,views etc ..)
db2look -d dbname -l -e -x -o DBname
if don't want to create tablespaces
db2look -d dbname -e -x -o DBname
connect to sourceDB
run RUNSTATS , to export only data existing tables
db2 -x " select ' runstats on table '||rtrim(creator)||'.'||ltrim(name)||' with distribution and detailed indexes all shrlevel change ;' from sysibm.systables where creator = schemaowner and type = 'T' " > runstats.sql
db2 -tvf runstats.sql -z runstats.log
then export only data exist table
db2 -x " select ' export to '||rtrim(name)||'.ixf of ixf select * from '||rtrim(creator)||'.'||ltrim(name)||';' from sysibm.systables where creator = schemaowner and type = 'T' and card > 0 " > export.sql
db2 -x " select ' load from '||rtrim(name)||'.ixf of ixf replace into '||rtrim(creator)||'.'||ltrim(name) ||';' from sysibm.systables where creator = schemaowner and type = 'T' and card > 0 " > load.sql
db2 -tvf export.sql -z export.log
ftp DBname.sql , load.sql ,*.ixf ( export files) to target .
if DB exist , BPs, tablespaces already created, schem owner is same, if schem onwer is different , change schema owner, then
db2 connect to targetDB
db2 -tvf DBname.sql -z DBname.log
db2 -tvf load.sql -z load.log