Sets the number of minutes your application might be idle before it is automatically closed down (Refer to :AST Auto Stop Attribute Commands). Your application automatically closes down if the period it has been idle equals or exceeds the current :TIM setting. The idle time starts from when all COMSTP programs close down. Only effective if all the following apply:
All subsystem programs have Minimum Copies set to 0 (zero).
COMS has closed down all copies of the COMSTP programs.
Auto stop (:AST+) command has been activated.
No Reports are running.
Security level is controller.
The :TIM command has the following form:
:TIM nn
Where, nn is the number of minutes for the idle timeout, from 1 through 99, where 99 means no time-out. By default, the value is 99 (no time-out).
When used without parameters, the :TIM command displays the current application closedown setting in minutes
Considerations:
If the runtime AutoStop option is set (:AST+) and the value of Minimum Copies is greater than zero, the application restarts immediately after closing down.
Applications that do not have a termination time limit for the COMSTP program have a default system timeout of 99 (no timeout).
The countdown to the timeout only begins after all COMSTP programs have been closed down by COMS, and no Reports are running. This is dependent on the COMS Term Time Limit and Minimum Copies settings for each of the subsystem COMSTP programs.
Idle timeout can be applied individually to COMSTP programs from options within the Subsystem dialog box in Developer (Refer to the Agile Business Suite Developer Online Help). The application timeout depends on the COMSTP timeouts, as application timeout takes effect only after all COMSTP programs have closed down.
To perform a normal closedown with :TIM, your application initiates a single copy of the primary subsystem COMSTP program. This executes any CloseDown built-in segment method for your application, and then terminate.
Use of these administration commands (and LSS input), also resets the idle timeout countdown.