16.20 - QueryBand-support - Teradata Tools and Utilities

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

Teradata Tools and Utilities
September 2019
Programming Reference

QueryBand-support might be used to ascertain whether the Teradata SQL SET QUERY_BAND statement may be used to associate descriptive information with a session or transaction.

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 whether Teradata Database supports the SQL SET QUERY_BAND statement.

This item is also included in the Aggregate-support-list query item.

Item Code Mnemonic Response DBQERQBS (DbqerQBS for C)
Field Value
42 QEPIQBS QERQBS ('status' for C and PL/I) One of the following EBCDIC characters:
  • 'N' with mnemonic QERQBSN (QER_NotSupported for C, NOT-SUPPORTED for COBOL, QER_NOT_SUPPORTED for PL/I)
  • 'Y' with mnemonic QERQBSY (QER_Supported for C, SUPPORTED for COBOL, QER_SUPPORTED for PL/I)