Return Time - Call-Level Interface Version 2

Teradata Call-Level Interface Version 2 Reference for Workstation-Attached Systems

Product
Call-Level Interface Version 2
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Return Time

Usage Notes

The Return Time field specifies whether or not time stamps are to be generated for the application program.

 

Language

Variable Name

COBOL:

DBCAREA-RET-TIME

C: DBCAREA.H:

ret_time

 

Routine

Action Taken

DBCHINI:

writes

DBCHCL:

reads (CON; RSUP: IRQ; FET; REW; ERQ; ABT)

 

Used by

Action Taken

application program

writes

Return Time is initialized by DBCHINI to the default value provided for Return Time in the site’s SPB.

If the value provided is not appropriate for the application, before calling DBCHCL, the application program may set:

  • Change Options to Y, and
  • Return Time to:
  • Y, if time stamps are to be provided.
  • N, if time stamps are not to be provided.
  • When time stamps are specified for the Fetch function, the time stamps provided are only valid on the first call to DBCHCL for the Fetch function. The time stamps may be changed later, for instance, if DBCHCL exchanges information with the Teradata Database to keep the response buffer stocked.

    It is recommended that only diagnostic applications use the time stamp capability.

    The Fetch, Rewind, End Request, and Abort functions read and use the value of Return Code, but do not store it.