Vendor_info data structure
Contains information, returned to Db2® as part of the Init_output structure, identifying the vendor and the version of the vendor device.
Field Name | Data Type | Description |
---|---|---|
vendor_id | char | An identifier for the vendor. Maximum length of the string it points to is 64 characters. |
version | char | The current version of the vendor product. Maximum length of the string it points to is 8 characters. |
release | char | The current release of the vendor product. Set to NULL if it is insignificant. Maximum length of the string it points to is 8 characters. |
level | char | The current level of the vendor product. Set to NULL if it is insignificant. Maximum length of the string it points to is 8 characters. |
server_id | char | A unique name identifying the server where the database resides. Maximum length of the string it points to is 8 characters. |
max_bytes_per_txn | sqlint32 | The maximum supported transfer buffer size. Specified by the vendor, in bytes. This is used only if the return code from the vendor initialize API is SQLUV_BUFF_SIZE, indicating that an invalid buffer size was specified. |
num_objects_in_backup | sqlint32 | The number of sessions that were used to make a complete backup. This is used to determine when all backup images have been processed during a restore operation. |
reserve | void | Reserved for future use. |
Note: All char data type fields are NULL-terminated strings.
API and data structure syntax
typedef struct Vendor_info
{
char *vendor_id;
char *version;
char *release;
char *level;
char *server_id;
sqlint32 max_bytes_per_txn;
sqlint32 num_objects_in_backup;
void *reserve;
} Vendor_info;