Character Set Pointer is a four-byte field that specifies the address of a 30‑byte character set name to be used on the current and subsequent requests and responses. A character set name can only contain characters from the standard EBCDIC character set.
CLIv2 recognizes the following character sets, which have EBCDIC characteristics supplied by Teradata Database:
CLIv2 also recognizes the following character sets, which have ASCII characteristics supplied by Teradata Database:
The characteristics of user-defined character sets are described to CLIv2 using the TRD2XUT utility program. See Chapter 13: “User-Defined Character Sets” for details.
User-defined character sets that have not been described to CLIv2 can be used, but their characteristics (codepoints for Space, Apostrophe, Quotation Mark, Slash, the Substitute control character, any character that appears in a TDPid, and the encoding scheme) are assumed to be the same as for EBCDIC.
Language |
Variable Name for Character Set Pointer |
COBOL |
DBCAREA‑CSC‑PTR |
PL/I |
CSC_PTR |
C |
inter_ptr |
IBM Assembler |
DBCCSNP or DBCCSCP |
Routine |
Action for Character Set Pointer |
DBCHINI |
writes |
DBCHCL |
reads |
Character Set Pointer is used by... |
To... |
applications |
write |