field alignment:4

Compatiblity option for Uniface 9.2, 9.3, or 9.4 (up to patch R107) to correctly align variable length fields.

USYS$DB2_PARAMS=field alignment:4

Use

Use this option only if you are using variable length fields (packing codes C*, W*, or R*) in Uniface 9.2, 9.3, or 9.4 (up to patch R107).

Description

Use this option to ensure that variable length fields are correclty aligned.

In Uniface 9.2, a 4-byte boundary was introduced for field content, which had the effect of reducing the available size of segmented fields so that such fields created with earlier versions were corrupted. This was corrected in Uniface 9.4 R107, but for users of Uniface 9.2, 9.3, and 9.4, variable length fields are no longer correctly aligned.

To permanently repair the badly aligned variable length fields, set this option and then export the data. Then remove this option and import the data.