IBM Books

API Reference

INIT-INPUT

This structure contains information provided by DB2 to set up and to establish a logical link with the vendor device.
Note:All fields are NULL terminated strings.

Table 81. Fields in the INIT-INPUT Structure
Field Name Data Type Description
DB2_session struct DB2_info A description of the session from the DB2 perspective.
size_options unsigned short The length for the options field.
size_HI_order unsigned long High order 32 bits of DB size estimate in bytes, total size is 64 bits.
size_LOW_order unsigned long Low order 32 bits of DB size estimate in bytes, total size is 64 bits.
num_sessions unsigned short Number of sessions requested by the user when backup or restore was invoked.
prompt_lv char Prompting level requested by the user when backup or restore was invoked. Maximum length of string it points to is 1 character.
options void This information is passed from the application when the backup or restore function is invoked. This data structure must be flat. In other words, no level of indirection is supported. Note that no byte-reversal is done and code page is not checked for this data.
reserve void Reserved for future use.

Language Syntax

C Structure



typedef struct Init_input
{
  struct DB2_info  *DB2_session;
  unsigned short   size_options;
  unsigned long    size_HI_order;
  unsigned long    size_LOW_order;
  unsigned short   num_sessions;
  char             *prompt_lvl;
  void             *options;
  void             *reserve;
} Init_input;


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

[ DB2 List of Books | Search the DB2 Books ]