Quote:
Originally Posted by ARWinner
Quiescing the database requires that you connect to the database first. Since you are forcing all the applications off anyway, why not quiesce the instance instead.
Andy
|
Thanks, in that case.. is this correct ( all work is performed by the instance db2inst1) ? Will this solve the original problem of it not letting me drop the db? Thank you!!
db2 "force applications all"
sleep 2
db2 "force applications all"
sleep 1
db2 "force applications all"
sleep 1
db2 quiesce instance db2inst1 immediate force connections ( ADDED )
db2 "drop database DBNAME"
db2set DB2_OVERRIDE_BPF=64000
XX db2 terminate ( REMOVE)
XX db2stop ( REMOVE)
XX db2start ( REMOVE)
--- db restore command --
--- db rollforward command --
db2 unquiesce instance db2inst1 ( ADDED )