During data substitution or comparison, the space conversion level of the distributed server is applied; the space conversion level of the distributed client is ignored.
If the distributed server is XDM/RD or XDM/RD E2, the specification in the KEIS CODE SPACE LEVEL operand of the RD environment definition is applied.
When data is retrieved with pd_space_level=0 or 1 (or PDSPACELVL=0 or 1) specified in the distributed client, the space conversion level of the distributed server is applied; the space conversion level of the distributed client is ignored.
For example, when Level 3 is specified in the distributed server, each double-byte space in national character data is converted into two single-byte spaces.
If the distributed server is XDM/RD or XDM/RD E2, the specification in the KEIS CODE SPACE LEVEL operand of the RD environment definition is applied.
When data is retrieved with pd_space_level=3 (or PDSPACELVL=3) specified in the distributed client, the space conversion level of the distributed server is not applied. In this case, HiRDB at the distributed client converts each double-byte space in the retrieval results into two single-byte spaces. One double-byte space is also converted into two single-byte spaces when the data type of the column to be accessed is national character data, mixed character data, or character data. Consequently, the spaces in the retrieval results data returned to the UAP are always single-byte spaces.