By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,557 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,557 IT Pros & Developers. It's quick & easy.

Bash Scripting db2move and db2look

P: n/a
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

Oct 12 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.