Skip to Content
0
Former Member
Sep 13, 2007 at 01:56 PM

Auto start and stop of MaxDB 7.6 via scripting???

278 Views

hello all,

In order to ensure a consistent 'Offline' backup we are trying to script the shut down of SAP and Max DB which runs our solution manager 4 system.

we are ok from the SAP shutdown (using stopsap.exe) but we are struggling with auto shutdown of MaxDB.

here is our none working script...

echo

e:

cd sapdb\programs\pgm

dbmcli.exe -key -n SOLMAN4 -d SDB -u andy,********

sql_execute DB_OFFLINE

exit

Any ideas on how we execute the final DB_OFFLINE command ?

the script above connects ok but doesn't run the shutdown

thanks in advance

Andy