IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBaGetError


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
dmbaudio.lib libdmbaudio.a (AIX)

libdmbaudio.sl (HP-UX)

libdmbaudio.so (Solaris)

Include file

dmbaudio.h

Syntax

long DBaGetError(
      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 <dmbaudio.h>
 
rc = DBaGetError(&errCode, &errMsg);


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