16.20 - Database-release - 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

Database-release might be used to aid in problem diagnosis.

Refers to the Teradata Database associated with 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 Teradata Database's release and version. The response consists of two fields totaling sixty-two bytes.

The intent of the data is not to deduce Teradata Database functionality, but simply to provide the release and version information for whatever diagnostic use they may be. The values should not be parsed for any reason since their format is subject to change.
Item Code Mnemonic Response DBQERDBR (DbqerDBR for C)
Fields Value
34 QEPIDBR QERDBRR ('release' for C and PL/I) Thirty EBCDIC characters identifying the Database release. This information is the EBCDIC equivalent of the InfoData field for the row whose InfoKey column contains 'RELEASE' in DBC.DBCInfoTbl.
    QERDBRV ('version' for C, COBOL, and PL/I) Thirty-two EBCDIC characters identifying the Database version. This information is the EBCDIC equivalent of up to the first thirty-two characters of the InfoData field for the row whose InfoKey column contains 'VERSION' in DBC.DBCInfoTbl, left-justified and padded with spaces as necessary.