IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBiGetError


Image Audio Video
X    

Returns a description of the last error. Call this API after any other API returns an error code.

Authorization

None.

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

libdmbimage.sl (HP-UX)

libdmbimage.so (Solaris)

Include file

dmbimage.h

Syntax

long DBiGetError(
      SQLINTEGER *sqlcode,
      char *errorMsgText
      );

Parameters

sqlcode (out)
The generic SQL error code.

errorMsgText (out)
The SQL error message text.

Error codes

MMDB_SUCCESS
API call processed successfully.

Examples

Get the last error, storing the SQL error code in errCode and the message text in errMsg:

#include <dmbimage.h>
 
rc = DBiGetError(&errCode, &errMsg);


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