Administrative API Reference

DATA

This structure contains data transferred (read and write) between DB2 and the vendor device.

Table 92. Fields in the DATA Structure
Field Name Data Type Description
obj_num sqlint32 The sequence number assigned by DB2 during backup.
buff_size sqlint32 The size of the buffer.
actual_buf_size sqlint32 The actual number of bytes sent or received. This must not exceed buff_size.
dataptr void Pointer to the data buffer. DB2 allocates space for the buffer.
reserve void Reserved for future use.

Language Syntax

C Structure



typedef struct Data
{
  sqlint32  obj_num;
  sqlint32  buff_size;
  sqlint32  actual_buff_size;
  void      *dataptr;
  void      *reserve;
} Data;


[ Top of Page | Previous Page | Next Page ]