When the value for Return-time is not appropriate for the application, you should perform the following procedure before calling DBCHCL:
- Set Change-options to ‘Y‘.
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.