I have cognos 8.3 BI installed on Windows.
I need the DOS command for starting the Cognos services, so I can include it in a .bat file i'm working on
Hi Ricky
You can silently start the Cognos service by calling the cogconfig.bat script (located in the c8/bin folder) with the -s option. eg <c8_ROOT>/bin/cogconfig.bat -s to start and <c8_ROOT>/bin/cogconfig.bat -stop to stop the service.
Another option is to control windows services:
net start "Cognos 8:9302"
net stop "Cognos 8:9302"
(replace name with your C8 service name).
Hi Kolonell
Thank you for your reply. Is it important to include the port number? Is it a disadvantage if I leave it out???
I guess you're referring to the reply from Prikala when you mention the ports, I think. The 'net start Cognos 8:9302' command needs the Service Name in order to start it. eg net start "Service Name". You'll need to verify what your service name for C8 is and modify the command appropriately. The default (if you left the port numbers in Cognos Configuration as is) would be: net start "Cognos 8".