16.20 - Changing the Value for Return-time - Teradata Tools and Utilities

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

Teradata Tools and Utilities
September 2019
Programming Reference

When the value for Return-time is not appropriate for the application, you should perform the following procedure before calling DBCHCL:

  1. Set Change-options to ‘Y‘.
  2. Change the value for Return-time as follows.
    If time stamps are... Then change the value for Return-time to...
    to be provided Y
    not to be provided N

Use mnemonics for the codes. Mnemonics are provided in the language definition file for the DBCAREA.

When time stamps are specified for the Fetch function, the time stamps provided are valid only on the first call to DBCHCL for the Fetch function.

The time stamps may be changed later. For example, if DBCHCL exchanges information with the Teradata Database to keep the response buffer stocked.

You should only use the time stamp capability for diagnostic applications.