C2S Conversion
C2S Conversion is a one-byte field that specifies the action to be taken when data provided in the client character set contains a character that does not exist in the character set of Teradata Database.
In this language... |
The variable name for C2S Conversion is... |
COBOL |
DBCAREA‑C2S‑CONVERSION |
PL/I |
C2S_CONVERSION |
C |
c2s_conversion |
IBM Assembler |
DBCIC2SC |
This routine... |
Does this for C2S Conversion... |
DBCHINI |
writes |
DBCHCL |
reads (CON; RSUP; IRQ; IWPF; CRQ) |
C2S Conversion is used by... |
To... |
applications |
write |
C2S Conversion is initialized to the default value provided for C2S Conversion in the site‘s HSHSPB. But if the value is not appropriate for the application, the application may, before calling DBCHCL for Initiate or Initiate With Protocol‑Function, change the value as follows:
1 Set Change Options to ‘Y‘.
2 Change the value for C2S Conversion as follows:
If... |
Then set C2S Conversion to... |
such conversions are to be rejected and terminate the request |
R |
such conversions are to be ignored (and the unacceptable character replaced by the character in the client‘s character set defined to be used to represent invalid characters) |
I |
the Teradata Database default C2S Conversion setting is to be used |
D |
Use mnemonics for the codes. Mnemonics are provided in the language definition file for the DBCAREA.