Bits in the delete byte

The meaning of the delete byte is determined by which bits within the byte are turned on.

This topic contains Diagnosis, Modification, and Tuning information.

The meaning of each bit in the delete byte, when turned on, is as follows:

Bit
Meaning When Delete Byte is Turned On
0
Segment has been marked for deletion. This bit is used for segments in a HISAM or secondary index database or segments in primary index.
1
Database record has been marked for deletion. This bit is used for segments in a HISAM or secondary index database or segments in a primary index.
2
Segment has been processed by the delete routine.
3
This bit is reserved.
4
Prefix and data portion of the segment are separated in storage. (The delete byte preceding the separated data portion of the segment has all bits turned on.)
5
Segment has been marked for deletion from a physical path. This bit is called the PD (physical delete) bit.
6
Segment has been marked for deletion from a logical path. This bit is called the LD (logical delete) bit.
7
Segment has been marked for removal from its logical twin chain. This bit should only be set on if bits 5 and 6 are also on).