Fixed- and variable-length segments in DEDBs

DEDBs support fixed-length segments. Thus you can define fixed-length or variable-length segments for your DEDBs. This support allows you to use MSDB applications for your DEDBs.

To define fixed-length segments, specify a single value for the BYTES= parameter during DBDGEN in the SEGM macro. To define variable-length segments, specify two values for the BYTES= parameter during DBDGEN in the SEGM macro.

Application programs for fixed-length-segment DEDBs, like MSDBs, do not see the length (LL) field at the beginning of each segment. Application programs for variable-length-segment DEDBs do see the length (LL) field at the beginning of each segment, and must use it to process the segment properly.

Fixed-length-segment application programs using REPL and ISRT calls can omit the length (LL) field.