Bash Scripting db2move and db2look -
10-12-2007
, 09:32 AM
I'm fairly new to scripting and not very advanced. I want to script
out a dbmove then a dblook command right after it but once the dbmove
command is finished it exits. Can anyone give me an example of what I
need to do?
#
# Create Database Export
#
cd $dbmovedir
db2move $customer export
#
# Create DDL File
#
cd $dblook
db2look -d $dbname -e -o $dbname_ddl -u $dbuser -w $dbpass
Thanks,
Eric |