Previous Topic: Blank When Zero or NULLNext Topic: Shift Out/Shift In Generation


Transparency

Transparent fields are used for the direct entry of internal format data, such as file uploads and binary data. When a field is transparent, it can contain any value in any byte of its presentation space (x'00' - x'FF').

The field is assumed to be in the format of the internal variable. The data is not edited, nor checked for permitted value violations, nor converted from the terminal codepage to the application codepage.

The fields are not operated upon in any way, except to verify lengths. If the presentation space is shorter than the attribute, then the data is low-byte aligned and filled with nulls (x'00') in the attribute. If the presentation space is longer than the attribute, then the low byte of the presentation space is aligned with the low byte of the attribute, and the excess of the presentation space is discarded.