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:
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.