clGetConfig  clGetDfcErrno

Chapter 2: Bridged Functions

clGetDfcError

Description

Gets DFC error text when a DFC error is encountered. Typically, you then erm the text into the xlog, so it can be traced.

Syntax

clGetDfcError(&str)

Parameter

Description

str

String in which you want to place the DFC error text.

Return value

Integer.

Returns 1 for success, and 0 for failure.

Examples

Example 9

string str;
//issue DFC command here
//and get an error return value (-1)
clGetDfcError(&str);
erm(“DFC error string=[%s]”, str);




Copyright © 2005. Sybase Inc. All rights reserved. clGetDfcErrno

View this book as PDF