IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBvCreateShotCatalog


Image Audio Video
    X

Creates a shot catalog, which is a set of tables that contains information about shots, such as frame numbers.

The application must be connected to a database that is enabled for both db2video and db2image.

Authorization

Create, SYSADM, DBADM

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

libdmbshot.sl (HP-UX)

libdmbshot.so (Solaris)

Include file

dmbshot.h

Syntax

long DBvCreateShotCatalog(
      char *catalogName,
      SQLHDBC hdbc
      );

Parameters

catalogName (in)
Name of the shot catalog to be created.

hdbc (in)
The database handle from SQLConnect.

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

Create a shot catalog named hotshots:

#include <dmbshot.h>
 
rc = DBvCreateShotCatalog("hotshots", hdbc);


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