DBCS field concatenation

 

When fields are concatenated, the data types can change (the resulting data type is automatically determined by the system). Double-byte character set (DBCS) field concatenation follows these rules.

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.

 

Parent topic:

Double-byte character set considerations

 

Related concepts


Using concatenation with DBCS fields