IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Windows DOS Commands

    Posted 12/29/06 10:09 AM

    Originally posted by: SystemAdmin


    Has anyone out there tried to stop and start the launcher on Windows using the command line? If so, what command did you use? I posed the question to Support as well but they aren't sure it's even possible to do it outside of the Services menu, but I thought I'd double-check and see if anyone had figured out a way to do it.

    In addition, is it possible to stop and start an individual system running on separate launcher processes using the command line on Windows?

    Any help is appreciated,
    Jennifer
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: Windows DOS Commands

    Posted 12/29/06 10:30 AM

    Originally posted by: janhess


    see 1011.pdf chapter 7 command line options.
    Basically you can start, stop, pause, and resume the windows service which has the same effect on the event server but stopping closes the event server and the windows service i.e. the tasks mercntsvns.exe and eventserverserv.
    I'm not aware of a command line option for starting individual systems though.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 3.  Re: Windows DOS Commands

    Posted 12/29/06 11:49 AM

    Originally posted by: SystemAdmin


    Here is what I heard back from Support in case this comes up for anyone else:

    Windows batch file
    The following code shows the Windows launcher.bat command usage:

    Usage: launcher.bat [-status Launchername systemname]
    [<-summary -history -statusinfo -configuration -all
    -xml> Launchername systemname]
    [-startsystem Launchername <systemname -all]>
    [-stopsystem Launchername <systemname -all]>
    [-pausesystem Launchername <systemname -all]>
    [-resumesystem Launchername <systemname -all]>

    On Windows platforms, use the operating system's NET command to start, stop, pause and continue the Java Event Service through the command line
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 4.  Re: Windows DOS Commands

    Posted 12/29/06 01:52 PM

    Originally posted by: SystemAdmin


    Here is a handy dandy technote on the topic. Although it says UNIX, the commands are basically the same (except you are using launcher.bat instead of launcher.sh).

    http://www-1.ibm.com/support/docview.wss?rs=2320&uid=swg21246392

    Yvonne
    Resistance is NOT futile.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 5.  Re: Windows DOS Commands

    Posted 01/03/07 09:28 AM

    Originally posted by: SystemAdmin


    Yvonne:

    Did this functionality exist for Windows prior to 8.1? I searched in my other versions for something comparable but didn't see anything.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 6.  Re: Windows DOS Commands

    Posted 01/03/07 12:34 PM

    Originally posted by: SystemAdmin


    I believe some capabilities were first available in 6.7. See the What's New document, 1030.pdf. Pause & Continue could be effected by using the Windows command "net" as in:
    net pause "Ascential DataStage TX Event Server"

    Status could be obtained by: eventserver.bat -status EventServerName

    I don't recall if stopping the server was possible. I think it was with UNIX at least.

    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 7.  Re: Windows DOS Commands

    Posted 01/03/07 01:50 PM

    Originally posted by: SystemAdmin


    Jim is correct. In 6.7 you had some options in DOS. In 7.5.1 is where you started to be able to do everything from the command line on both UNIX and DOS (page 190 of the Event Server Reference guide - 1011.pdf).

    Yvonne
    Resistance is NOT futile.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 8.  Re: Windows DOS Commands

    Posted 04/05/07 06:00 PM

    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


  • 9.  Re: Windows DOS Commands (attachment)

    Posted 04/05/07 06:03 PM
      |   view attached

    Originally posted by: SystemAdmin


    Here's the zip with batch files.
    Tom Lander
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender

    Attachment(s)