post-thaw-script.sql (Sybase)

if [ -f /sybase/sybase15.7/scripts/post-thaw-script.out ]
 then
 rm -rf /sybase/sybase15.7/scripts/post-thaw-script.out
 fi
 export SYBASE=/sybase/sybase15.7
 export SYBASE_SERVER=DBSERVE99
 $SYBASE/OCS-15_0/bin/isql -SKPNSYBASE -Usa -P -e -n -o /sybase/sybase15.7/scripts/post-thaw-script.out<< EOF
 select getdate()
 go
 quiesce database tag2 release
 go
 quiesce database tag1 release
 go
 select is_quiesced(4)
 go
 select is_quiesced(5)
 go
 EOF

Loading...