16.20 - Trusted-session-support - Teradata Tools and Utilities

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

Teradata Tools and Utilities
September 2019
Programming Reference

Of no use to normal applications. If an application establishes its own Teradata session and subsequently uses that session to perform its own requests using the security credentials of another userid, then Trusted-session-support determines whether the Teradata SQL SET QUERY_BAND PROXYUSER is honored rather than silently ignored.

Refers to the Teradata Database whose TDP identifier is both addressed in the QEPTIDP field and has its length specified by the QEPTLEN field. Since they do not apply, the QEPRQST and QEPTOKEN fields must contain binary zeroes.

Returns whether a Teradata Database honors rather than ignores the Teradata SQL SET QUERY_BAND PROXYUSER statement.

Item Code Mnemonic Response DBQERTSS (DbqerTSS for C)
Field Value
50 QEPITSS QERLTSS ('status' for C and PL/I) One of the following EBCDIC:
  • 'N' with mnemonic QERTSSN (QER_NotSupported for C, NOT-SUPPORTED for COBOL, QER_NOT_SUPPORTED for PL/I)
  • 'Y' with mnemonic QERTSSY (QER_Supported for C, SUPPORTED for COBOL, QER_SUPPORTED for PL/I)