Default-character-set - Teradata Tools and Utilities

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

Product
Teradata Tools and Utilities
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-18
dita:mapPath
lvt1544831946862.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

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 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.