DBCS-graphic fields used by record keys (FROMKEY and TOKEY)
When the number of key fields and a value are used to specify the FROMKEY or TOKEY parameter, no conversions are done on the input string. The input string is used as is. When you specify *BLDKEY on the FROMKEY or TOKEY for DBCS-graphic fields, you should enclose the DBCS data in shift-out and shift-in characters. The copy command assumes that the DBCS data is in the associated DBCS CCSID of the job CCSID. The shift-out and shift-in characters are removed before building the key. A message is sent and the copy operation ends:
- If the input string is not enclosed in shift-out and shift-in (SO-SI) characters OR
- The data cannot be converted to the DBCS CCSID of the from-file key field
Parent topic:
Selecting records by record keys (FROMKEY and TOKEY parameters)