16.20 - Default-character-set - Teradata Tools and Utilities

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

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

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.