cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ECC 6.0 Startup and Shutdown Script

Former Member
0 Kudos

Hi,

Does anyone have a script so make the stratup of the ECC 6.0 system.

I have a problem because i don´t know how to declare the authentication on the script.

This script is for windows 2003 server for ECC 6.0 with SQL Server 2003.

King regards,

Nuno

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member204746
Active Contributor
0 Kudos

start SAP:

D:\usr\sap\%ORACLE_SID%\sys\exe\run\sapstart.exe name=%ORACLE_SID% nr=%SYSNR% SAPDIAHOST=%SAPLOCALHOST%

stop SAP:

D:\usr\sap\%ORACLE_SID%\sys\exe\run\stopsap.exe name=%ORACLE_SID% nr=%SYSNR% SAPDIAHOST=%SAPLOCALHOST%

Former Member
0 Kudos

to start database you can use strdbs.cmd script at the kernel directory.

former_member193399
Active Participant
0 Kudos

I am not sure what you are looking for. You can use startsap.exe and stopsap.exe to start/stop the sap instances. Example below. You can put this batch file.

stopsap name=<sid> nr=<instance number> sapdiahost=sape<sid>

startsap name=<sid> nr=<instance number> sapdiahost=sape<sid>

If you want the SAP instances to start automatically when the OS starts then you can check on the AUTOSTART profile parameter. I have not used it though. One important thing to note is you need to make sure the database is up before starting the SAP instances.

-RT