16.20 - Return-Identity-Data-support - Teradata Tools and Utilities

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

Teradata Tools and Utilities
September 2019
Programming Reference

Return-Identity-Data-support might be used to ascertain whether the DBCAREA Return-identity-data option may be specified to request data be returned in response to an SQL Insert operation when Identity columns are involved.

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 returning data for SQL Inserts when Identity columns are involved.

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

Item Code Mnemonic Response DBQERRID (DbqerRID for C)
Field Value
40 QEPIRID QERRID ('status' for C and PL/I) One of the following EBCDIC characters:
  • 'N' with mnemonic QERRIDN (QER_NotSupported for C, NOT-SUPPORTED for COBOL, QER_NOT_SUPPORTED) for PL/I)
  • 'Y' with mnemonic QERRIDY (QER_Supported for C, SUPPORTED for COBOL, QER_SUPPORTED) for PL/I)