Multi-session agent Startup and Shutdown procedures
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The PAS for OpenEdge multi-session agent has two additional Startup and Shutdown event procedures that run when the agent starts up and shuts down. The following table describes the behavior of these two procedures. The Procedure name column lists the property in openedge.properties where you set the name of the specified procedure:
| Procedure name | Persistence | Runs at | Parameters |
|---|---|---|---|
agentStartupProc |
Non-persistent | Multi-session agent process startup | A single CHARACTER argument passed to
the procedure as an INPUT parameter and specified as
the agentStartupProcParam property in
openedge.properties |
agentShutdownProc |
Non-persistent | Multi-session agent process shutdown | None |
Note: The
agentStartupProc procedure runs in a
separate ABL session within the multi-session agent. Any global values it creates are
not visible to other ABL sessions.