IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBvDisableDatabase


Image Audio Video
    X

Disables a database for video (DB2Video data) so that it cannot hold video data. All tables in the database defined for DB2Video are also disabled. The metadata and UDFs defined by the Video Extender for the database are dropped. New rows can be inserted into tables in the database that are defined with type DB2Video, but there is no metadata (in the administrative support tables) associated with the new rows.

Authorization

DBADM, SYSADM

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbvideo.lib libdmbvideo.a (AIX)

libdmbvideo.sl (HP-UX)

libdmbvideo.so (Solaris)

Include file

dmbvideo.h

Syntax

long DBvDisableDatabase(
      );

Parameters

DBvDisableDatabase has no parameters.

Error codes

MMDB_SUCCESS
API call processed successfully.

MMDB_RC_NO_AUTH
Caller does not have the proper access authority.

MMDB_RC_NOT_CONNECTED
Application does not have valid connection to a database.

Examples

Disable the current database for video (DB2Video data):

#include <dmbvideo.h>
 
rc = DBvDisableDatabase();


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