S2C Conversion is a one byte field that specifies the action to be taken when data in the character set of the Teradata Database contains a character that does not exist in the client’s character set.
In this language... |
The variable name for S2C Conversion is... |
COBOL |
DBCAREA‑S2C‑CONVERSION |
PL/I |
S2C_CONVERSION |
C |
s2c_conversion |
IBM Assembler |
DBCIS2CC |
This routine... |
Does this for S2C Conversion... |
DBCHINI |
writes |
DBCHCL |
reads (CON; RSUP; IRQ; IWPF; CRQ) |
S2C Conversion is used by... |
To... |
applications |
write |
S2C Conversion is initialized to the default value provided for S2C 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 S2C Conversion as follows:
If... |
Then set S2C 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.