Hello DMC team,
I am running DMC version 3.1.1.0 on Windows and had problems with the batches removeservice.bat and installservice.bat.
1) removeservice.bat
This script did not work because the Windows "sc" command could not be found. I discovered that I had to make the following change in "product.bat":
Original line: SET PATH="%dsserver_home%\java\jre\bin";!PATH!
Changed line: SET PATH="%dsserver_home%\java\jre\bin";%PATH%
That means, I changed "!PATH!" to "%PATH%".
2) installservice.bat
The service "IBMDataServerMgr" could be started, but did not respond to a stop request. For the service to work properly, I had to make the following change in "installservice.bat":
Original line: %EXECUTABLE% //IS//%SNAME% --Install=%EXECUTABLE% --Description=%PROD_NAME% --JavaHome=%JAVA_HOME% --StartMode=exe --StartImage="%dsserver_home%\bin\start.bat" --StopImage="%dsserver_home%\bin\stop.bat" --StartPath="%dsserver_home%" --LogPath="%dsserver_logs%" --StdOutput=auto --StdError=auto --Startup=auto
Changed line:
%EXECUTABLE% //IS//%SNAME% --Install=%EXECUTABLE% --Description=%PROD_NAME% --JavaHome=%JAVA_HOME% --StartMode=exe --StartImage="%dsserver_home%\bin\start.bat" --StopMode=exe --StopImage="%dsserver_home%\bin\stop.bat" --StartPath="%dsserver_home%" --StopPath="%dsserver_home%" --LogPath="%dsserver_logs%" --StdOutput=auto --StdError=auto --Startup=auto
That means, I added the options "--StopMode=exe" and "--StopPath="%dsserver_home%"".
Maybe you can comment on these changes whether they are OK or not. Thanks
------------------------------
Dirk Fechner
------------------------------
#Db2