CCSID(*EXACT | *NOEXACT)

Specify the CCSID keyword to control the CCSID of alphanumeric external subfields for an externally-described data structure or a data structure defined with the LIKEREC keyword.

With CCSID(*EXACT), alphanumeric subfields have the same CCSID as the external field in the file.

With CCSID(*NOEXACT), alphanumeric subfields have the current default CCSID for alphanumeric data, and they are considered to have the CCSID keyword explicitly specified.

When the CCSID keyword is not specified
  • If CCSID(*EXACT) is specified on a control statement, CCSID(*NOEXACT) is assumed. If the CCSID keyword is not explicitly specified, alphanumeric subfields are considered to have the CCSID keyword implicitly specified.
  • If CCSID(*EXACT) is not specified on a control statement, subfields have the default alphanumeric CCSID. However, if the default alphanumeric CCSID has not been explicitly set, alphanumeric subfields are not considered to have the CCSID keyword specified.

For information on how explicitly or implicitly specifying the CCSID keyword affects input and output operations using the data structure or its alphanumeric subfields, see CCSID conversions during input and output operations.