16.20 - Logging-errors-usage - 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

Logging-errors-usage might be used to ascertain the degree to which the Database supports the Teradata SQL LOGGING ERRORS clause.

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 degree of support for the Teradata SQL LOGGING ERRORS clause.

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

Item Code Mnemonic Response DBQERLEU (DbqerLEU for C)
Field Value
44 QEPILEU QEPILEU ('usage' for C and PL/I) A two-byte unsigned integer containing one of the following values:
  • 0 with mnemonic QERLEUN (QER_LoggingUsageNone for C, NOT-SUPPORTED for COBOL, QER_LOGGING_USAGE_NONE for PL/I) if the clause is not supported
  • 1 with mnemonic QERLEUM (QER_LoggingUsageMerge for C, QERLEUM for COBOL, QER_LOGGING_USAGE_MERGE for PL/I) if the clause is supported for MERGE INTO, INSERT, and SELECT statements