To restart a program using tmcontrol

  1. On the Transaction Monitor form, press Action (F8).
  2. Select Restart Program.
  3. From the menu that appears, select the appropriate run options.

    - or -

    At the command line, specify this information:

    tmcontrol -rp dataarea programcode

    The following table explains the complete command syntax and other optional parameters.

    Option Descriptions
    full command syntax tmcontrol [-ct [ProgramCode [ProgramCode...]]] [-rp datarea ProgramCode] [-sp dataarea ProgramCode [NumberProcesses]] [-cto] [-cs] [-p] [-da] [-dc] [-dm] [-dn] [-dp] [-ds] [-du] [-lt][-moff] [-mon] [-rc] [-v] [-U]
    ct

    Captures a transaction for the specified program codes or for all program codes. The default is all program codes.

    rp Restarts a running program. This option forces the Lawson Application Server (latm) to use a new program object after a compile.
    sp Starts the specified programs.
    cto

    Turns the transaction capture feature off.

    cs Clears the statistic table.
    p

    Sends a "ping" message to the Lawson Application Server (latm) to test response time.

    da Dumps the application objects.
    dc Dumps the form IDs whose transactions are being captured.
    dm Dumps the message buffers.
    dn Dumps the machine node table.
    dp Dumps the latm.cfg parameters.
    ds Dumps the processing statistics.
    du Dumps the lapm users.
    lt Reloads the "users per form ID" values.
    moff Turns monitoring off.
    mon Turns monitoring on.
    rc Reads the latm.cfg file and updates the configuration parameters.
    v Toggles debugging on and off.
    U Prints usage and syntax.