dbTalk Databases Forums  

Bash Scripting db2move and db2look

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Bash Scripting db2move and db2look in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eric.DeWerth@gmail.com
 
Posts: n/a

Default 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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.