Default-character-set - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Defaultcharacterset

Default‑character‑set name might be used to determine if the character set that will be used if none is specified is acceptable to the application.

Refers to the TDP whose TDP identifier is addressed by the QEPTIDP field and has length specified by the QEPTLEN field. Since they do not apply, the QEPRQST and QEPTOKEN fields must contain binary zeroes.

Returns the default character set name from the HSHSPB or, if no such default exists, the Teradata Database's default character set name. Note that any default character set code in the HSHSPB is ignored since its use has long been deprecated, so the Database default is returned with a return code of 1127 to warn of the ignored code.

 

Item Code

Mnemonic

Response DBQERDCS (DbqerDCS for C)

Field

Value

33

QEPIDCS

QERDCS
('name' for C, COBOL, and PL/I)

Thirty EBCDIC characters, left-justified, padded on the right with spaces.