Expand description
The run unit: every program a run calls, sharing one memory as they share an address space on z/OS. A called program keeps its WORKING-STORAGE and open files from one CALL to the next until it is cancelled. A reference or pointer can reach anywhere in this memory, but never outside it.
Structs§
- Library
- Where CALL finds programs: the other programs of the first program’s source, then program libraries searched by member name.
- Loaded
- RunUnit
Enums§
- Clock
- Event
- What a run did that its evidence journal records: each file as it is opened and closed, and each program CALL loads, with the source it was read from when a library supplied it.
- Load
Error
Constants§
- ADDRESS_
BASE - A pointer’s value is its offset into run-unit memory plus this, so that no item’s address is NULL.
- MAX_
DEPTH - How deep PERFORMs and CALLs may nest before the run abends, rather than exhaust the stack.
- RETURN_
CODE - RETURN-CODE, a halfword shared by every program in the run unit.