15.10 - Character Set Pointer - Call-Level Interface Version 2

Teradata Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

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:

  • “EBCDIC” on page 379
  • “EBCDIC037_0E” on page 381
  • “EBCDIC273_0E” on page 382
  • “EBCDIC277_0E” on page 383
  • “HANGULEBCDIC933_1II” on page 384
  • “KANJIEBCDIC5026_0I” on page 389
  • “KANJIEBCDIC5035_0I” on page 395
  • “KATAKANAEBCDIC” on page 401
  • “SCHEBCDIC935_2IJ” on page 407
  • “TCHEBCDIC937_3IB” on page 409
  • CLIv2 also recognizes the following character sets, which have ASCII characteristics supplied by Teradata Database:

  • ARABIC1256_6A0, defined by Microsoft code
  • ASCII, defined by IBM code
  • CYRILLIC1251_2A0, defined by Microsoft code
  • HANGUL949_7R0, defined by Microsoft code
  • HANGULKSC5601_2R4, defined by IBM code
  • HEBREW1255_5A0, defined by Microsoft code
  • KANJI932_1S0, defined by Microsoft code
  • KANJIEUC_0U, defined by IBM code
  • KANJISJIS_0S, defined by IBM code
  • LATIN1_0A, defined by IBM code
  • LATIN1250_1A0, defined by Microsoft code
  • LATIN1252_3A0, defined by Microsoft code
  • LATIN1254_7A0, defined by Microsoft code
  • LATIN1258_8A0, defined by Microsoft code
  • LATIN9_0A, defined by ISO/IEC 8859-15
  • SCHGB2312_1T0, defined by IBM code
  • SCHINESE936_6R0, defined by Microsoft code
  • TCHBIG5_1R0 defined by IBM code
  • UTF-8, defined by ISO/IEC 10646
  • UTF-16, defined by ISO/IEC 10646
  • 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