cancel
Showing results for 
Search instead for 
Did you mean: 

Auto stop script

Former Member
0 Kudos

Dear all,

We have SAP Ecc5.0 installed with sql server 2000 and windows 2003. There are three instance running, 00 for central instance, 11 for jave instance and 51 for sapgw.

I created a batch file to schedule it on windows for offline backup. I used command

<path>\stopsap.exe name=<SID> nr=00 SAPDIAHOST=<hostname>

Three command for three instances i.e nr=00,nr=11 and nr=51.

When i run this batch file from command prompt it gives me no error but all instance remain running. I have also tried by changing the sequence of instance.

Can anyone tell me the way.

Or if i stop the services directly, the instance still remain intact.

Thanks

Imran Hasware

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Imran,

Besided using the stopsap.exe in addition you can use the Win command to stop the corresponding services ...

net stop saposcol

net stop MSSQLServer

net stop SAPSID_00

...

schedule the scripts using sidadm account.

should work.

Regards,

Ben