Segment Edit/Compression exit routine

The Segment Edit/Compression exit routine allows you to encode, edit, or compress the data portion of a segment.

You can use this facility on segment data in full function databases and Fast Path DEDBs. You write the routine (your edit routine) that actually manipulates the data in the segment. The IMS code gives your edit routine information about the segment's location and assists in moving the segment back and forth between the buffer pool and the application program's I/O area.

The following database types support the Segment Edit/Compression exit routine:

Detailed information on how the Segment Edit/Compression exit routine works and how you use it is in IMS Version 15.4 Exit Routines.

The Segment Edit/Compression exit routine lets you:

Two types of segment manipulation are possible using the Segment Edit/Compression exit routine:

You specify the use of the Segment Edit/Compression exit routine when you define a segment type. Any segment type can be edited or compressed (using either data or key compression) as long as the segment is:

The use of the segment edit/compression exit routine is defined in physical database DBDs. This exit routine's use cannot be defined in a logical database DBD.

Data compression is allowed but key compression is not allowed when the segment is: