MicroStrategy ONE

Stop Service statement

Stops any of the supported services (MicroStrategy Enterprise Manager Data Loader and Listener) in the specified machine.

Copy
STOP SERVICEservice_nameINmachine_name;

where:

  • service_name is the service name (NOT the display name) to be stopped, of type string, between double quotes (" "). Refer to the Examples section for more information on how to use it.

  • machine_name is the network name of the machine running a service, of type string, between double quotes (" ").

  • This statement can only be executed in a Windows environment.

  • If you are running on Windows Vista, this command may fail if Command Manager is not launched using the Run As Administrator option.

Examples

Copy
/* MicroStrategy 
 Enterprise Manager Data Loader */
Copy
STOP SERVICE 
 "MAEMETLS" IN "HOST_MSTR";
Copy
/* MicroStrategy 
 Listener */
Copy
STOP 
 SERVICE "MAPPING" IN "HOST_MSTR";