Using Data Pointer
Usage Notes
The Using Data Pointer field specifies the address of the data string that is referred to by the USING clause in the request string. DBCHCL does not parse the request string. It is the application program’s responsibility to be certain that a data string exists and that it is pointed to by Using Data Pointer if a USING clause is in the request string.
Language |
Variable Name |
COBOL: |
DBCAREA-USING-DATA-PRT |
C: DBCAREA.H: |
using_data_ptr |
Routine |
Action Taken |
DBCHINI: |
writes |
DBCHCL: |
reads (IRQ) |
Used by |
Action Taken |
application program |
writes |
Before calling DBCHCL for the Initiate Request function and if the request string contains a USING clause, the Teradata Database application program must build a data string that contains the data described by the USING clause.
The application program must place the address of the first byte of presence bits or the first byte of the data string, if there are no presence bits, in Using Data Pointer.
If there is no USING clause in the request string, be certain that Using Data Length is set to zero; otherwise, whatever value is in Using Data Pointer is used as if it were a real address and may cause unpredictable errors.