Customize startup and shutdown behavior.
Startup and shutdown behavior is a broad topic. The following list indicates tools you can use to programmatically customize startup and shutdown behavior of the system as a whole:
The class documentation includes examples and details.
: Affects only the namespace in which it is defined (by default).
InterSystems reserves this routine name for your use; the routine is not predefined. The ^%ZSTOP
routine is intended to contain custom code to execute when certain events happen. See the comments for ^%ZSTART
In addition, many classes that you use provide callback methods that enable you to customize startup and shutdown behavior of the code. For example, you can customize callback methods to control startup and shutdown behavior of Ensemble productions.