Use this command to cause an unconditional, orderly termination of the application as soon as it is idle. A message is displayed on the status line of all users of the application.
This command stops the input of transactions from terminals. Currently active transactions are processed until completed. Terminals might still supply messages in response to Accept logic from running reports.
Active reports are forced to terminate when:
A Sleep logic statement is executed.
The attribute Glb.Close is set to “CLOSE”, and the report is woken. It processes any termination logic and then terminates.
The report is just starting.
When all reports have terminated, any external automatic entry server or USER programs are terminated. The system programs are then terminated, and the logic defined in the public segment method Closedown is invoked. The next time the application is initiated, the logic defined in the public segment method Startup is invoked.
Administration command
:STO [DISABLE]
Include DISABLE to stop the application, and to prevent any users from initiating it again.
COM+ method
StopSystem([in] bool disable)
Where, DISABLE stops the application and prevents any users from initiating it again.
Security
Users must be a member of one of the following COM+ roles in order to access this administrative function:
Application Operators
Application Administrators