Script Execution Diagrams
The following pages contain diagrams and charts that illustrate how different types of scripts execute and interact with one another, the data environment for some types of scripts, and how memory is used as scripts execute.
The diagrams and charts are:
- Primary Script Execution
- Continuation Script Execution
- Overlay Script Execution
- Public Script Execution
- Script Type Execution and Memory Usage
Primary Script Execution

Continuation Script Execution

Overlay Script Execution

Public Script Execution

Script Type Execution and Memory Usage
- Memory Use ⇒
- ⇒ ⇒
⇓
⇓
⇓
Note: Primary and continuation scripts displace each other in memory. Overlay, public, and 3 GL public scripts accumulate in memory until terminated. In all cases, an EXIT or TERMINATE returns control to the command that follows the RUN or CALL.
From the Script-IV Developer Guide, version 8.9.1. Open this page in the PDF