Originally posted by: SystemAdmin
For years I have Started/Stopped & tested Status using DOS batch files in earlier Mercator versions. Attached are batch files used with Mercator 6.5 showing two methods.
1) Uses SC.EXE (found Windows/XP Pro computers and others) which is a command line program used for communicating with the NT Service Controller and services. In otherwords you can control servicess from the command line. Batch files using SC.EXE are named:
Start_Mercator6.5_Event_Server.bat
Status_Mercator6.5_Event_Server.bat
Stop_Mercator6.5_Event_Server.bat
I prefer SC.EXE -- it has more options specific to services.
2) Uses NET.EXE is a command line utility that does a lot of stuff. Type NET HELP to figure it out.
Net_Start_Mercator6.5_Event_Server.bat
Net_Status_Mercator6.5_Event_Server.bat
Net_Stop_Mercator6.5_Event_Server.bat
I only use these on servers that don't have SC.EXE installed (like Windows Server 2000).
Word of caution. Be sure no maps are actively running before stopping by checking status in the Management Console first.
Tom Lander
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange