IBM Books

Administrative API Reference

DATA

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

Table 90. Fields in the DATA Structure
Field Name Data Type Description
obj_num long The sequence number assigned by DB2 during backup.
buff_size long The size of the buffer.
actual_buf_size 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 ]