If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Starting Cognos Services from Command line!!

Started by Ricky@MDPD, 23 Oct 2008 11:27:16 AM

Previous topic - Next topic

Ricky@MDPD

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

kolonell

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.

prikala

Another option is to control windows services:
    net start "Cognos 8:9302"
    net stop "Cognos 8:9302"
(replace name with your C8 service name).



Ricky@MDPD

Hi Kolonell

Thank you for your reply. Is it important to include the port number? Is it a disadvantage if I leave it out???

kolonell

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".