Inserting missing fields
When a variable-length segment is inserted into the database, the length field is set to the value of the minimum size needed to hold all sensitive fields.
- The 'LL' field is updated to include all sensitive fields.
- The TYPE= parameter on the DBD (see the example of a DBD for field-level sensitivity with variable-length segments) determines the fill value for non-sensitive DBD fields.
- Binary zero is the fill value for space not defined by a FIELD statement in the DBD.
The following figure is an example of a missing field on an insert call using the DBD and PSB in the example of a DBD for field-level sensitivity with variable-length segments.

The 'LL' field is maintained by IMS to include the full length of all sensitive fields up to and including the ADDRESS field. BIRTHD is filled with blanks, because TYPE=C was specified on the FIELD statement in the DBD. Positions 34 to 42 are set to binary zeros, because the space was not defined in a FIELD statement in the DBD.