Exit routine environment

The start/stop exit routine receives control in the following environment:

Environmental factor Requirement
Authorization: Supervisor state and PSW key 0
Dispatchable unit mode: Task
Cross memory mode: PASN = HASN = SASN
AMODE: 31-bit. All passed areas can be above 16 megabytes in virtual storage.
ASC mode: Primary
Interrupt status: Enabled for I/O and external interrupts
Locks: No locks held
Serialization: Component trace prevents multiple conflicting commands from being processed simultaneously.
Location: The start/stop routine must be in LPA or the LNKLST concatenation.

If the start/stop routine is in LPA, the system passes control to the module at that location, and the module is not page-fixed. Otherwise, the system places the start/stop routine into the fixed common service area (CSA).

Exit Recovery: The start/stop routine must supply its own ESTAE-type recovery routine or functional recovery routine (FRR) for any needed recovery or cleanup of resources.