4. Designing and Writing OpenROAD Server Applications : OpenROAD Application Requirements : Shutdown Notification
 
Share this page                  
Shutdown Notification
When an ASO server process is shutting down, it attempts to call a 4GL procedure named iiasoshutdown. No parameters are passed. If you want to be informed of shutdown, you should include a procedure named iiasoshutdown in the application. This procedure can take care of cleaning up resources before the process is stopped. It is particularly useful for gracefully disconnecting any open database sessions.
Do not attempt to use this notification to trigger a handoff of application state from one server instance to its replacement. This call is asynchronous with respect to the SPO. The SPO may have already started a replacement ASO server process by the time this call executes in the server process that is shutting down.