IBM Books

API Reference

DATA

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

Table 83. Fields in the DATA Structure
Field Name Data Type Description
obj_num long This is the sequence number assigned by DB2 during backup.
buff_size long The size of the buffer.
actual_size_buf long 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
{
  long  obj_num;
  long  buff_size;
  long  actual_buff_size;
  void  *dataptr;
  void  *reserve;
} Data;


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]