Default-character-set - Teradata Tools and Utilities

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-11-17
dita:mapPath
oxw1641281447623.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
vfj1470443597526
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.