Replacing partially present fields
When replacing partially present fields be aware of the following points.
- If segment length is increased on a REPL call, the field returned to the application program is written to the database if it has not been changed.
- If the data type of the field is character and the field is changed on a REPL call, the segment length is increased if necessary to include all non-blank characters in the changed data.
- If the data type is not character and the field is changed on a REPL call, the segment length is increased to contain the entire field.
The following figure is an example of a partially present field on a REPL call based on the DBD and PSB in Retrieving missing fields.

The 'LL' field is changed from 50 to 52 by DL/I to accommodate the change in the field length of ADDRESS.