To restart a program using tmcontrol
- On the Transaction Monitor form, press Action (F8).
- Select Restart Program.
- From the menu that appears, select the appropriate run options.
- or -
At the command line, specify this information:
tmcontrol -rp dataarea programcodeThe 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]ctCaptures a transaction for the specified program codes or for all program codes. The default is all program codes.
rpRestarts a running program. This option forces the Lawson Application Server (latm) to use a new program object after a compile. spStarts the specified programs. ctoTurns the transaction capture feature off.
csClears the statistic table. pSends a "ping" message to the Lawson Application Server (latm) to test response time.
daDumps the application objects. dcDumps the form IDs whose transactions are being captured. dmDumps the message buffers. dnDumps the machine node table. dpDumps the latm.cfg parameters. dsDumps the processing statistics. duDumps the lapm users. ltReloads the "users per form ID" values. moffTurns monitoring off. monTurns monitoring on. rcReads the latm.cfg file and updates the configuration parameters. vToggles debugging on and off. UPrints usage and syntax.