DBCS field concatenation

When fields are concatenated, the data types can change (the resulting data type is automatically determined by the system). You can follow these guidelines when double-byte character set (DBCS) fields are concatenated.

Notes:
  1. When bracketed-DBCS fields are concatenated, a shift-in at the end of one field and a shift-out at the beginning of the next field are removed. If the concatenation contains one or more hexadecimal fields, the shift-in and shift-out pairs are only eliminated for DBCS fields that precede the first hexadecimal field.
  2. A concatenated field that contains DBCS fields must be an input-only field.
  3. Resulting data types for concatenated DBCS fields might differ when using The Open Query File (OPNQRYF) command.
Related concepts
Use concatenation with DBCS fields through the Open Query File (OPNQRYF) command