Segmentation concerns how a program interacts with its environment before
issuing a converse statement.
If a program issues a
converse statement to present
a Web page, the runtime behavior depends on whether the code is generated
as a Java™ program
or as a CICS
® COBOL
program:
- The EGL-generated Java program is non-segmented, which
means that the program remains in memory during the period when the user considers
how to respond.
The Java program acts as follows before presenting
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 details, see Behavior
of a segmented program on CICS.
You cannot control the segmentation status of an EGL-generated program
in a Web application, as you can for a program in a text application.
Related concepts
Program part
Developing Web transactions in EGL