docs.intersystems.com
Home / InterSystems Programming Tools Index / Tools Index / Startup and Shutdown Behavior

InterSystems Programming Tools Index
Startup and Shutdown Behavior
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Customize startup and shutdown behavior.
Available Tools
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:
Config.Startup class
Enables you to modify and access information about the [Startup] section of the CPF file. (Note that you usually modify this file via the Management Portal. See the System Administration Guide.)
The class documentation includes examples and details.
Availability: %SYS namespace.
^ZWELCOME routine
InterSystems reserves this routine name for your use; the routine is not predefined. The ^ZWELCOME routine is intended to contain custom code to execute when the Terminal starts. See Using the Terminal.
Availability: Affects only the namespace in which it is defined (by default).
^%ZSTART routine
InterSystems reserves this routine name for your use; the routine is not predefined. The ^%ZSTART routine is intended to contain custom code to execute when certain events happen, such as when a user logs in. If you define this routine, the system calls it when these events happen. See Customizing Start and Stop Behavior with ^%ZSTART and ^%ZSTOP Routines in Specialized System Tools and Utilities.
Availability: Affects all namespaces.
^%ZSTOP routine
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.
Availability: Affects all namespaces.
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 productions.


Previous section           Next section
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-04-10 14:45:56