Segmentation in web transactions
Segmentation concerns how a program interacts with its environment before issuing a converse statement that presents a web page to the user. Web transactions are always segmented, which means (among other things) that EGL frees system resources while the user responds to the web page.
- Commits databases and other recoverable resources.
- Releases locks, as well as file and database positions.
- Refreshes single-user EGL tables so that their values become the same as when the program began.
- Refreshes system variables so that their values become the same as when the program began, except for a subset of variables whose values are saved. The save status is noted in the page for each variable.
The EGL-generated CICS® COBOL program is segmented, which means that the program leaves memory after issuing the converse statement and is returned to memory when the user responds. For more information, see Behavior of segmented programs on CICS or IMS.
The segmented converse (either simulated, for Java™ generation, or actual) is available for both main and called web transaction programs.
The segmented property is theoretically available for a web transaction program, but is ignored because all web transactions are segmented.