dump()

Returns business object information in a format for logging and tracing.

Syntax

char * dump(char * buf, int bufSize);

Parameters

buf [in]
Is the address of a buffer in which to store the business object information.

bufSize [in]
Is the size of the buffer.

Return values

An integer that indicates the outcome of the operation.

Notes

If the saved business object does not fit in the buffer, the dump() method returns the error code -1.

Examples

BusinessObject *pObj;
int status;
. . .
status = pObj->dump(buf, 255);

See also

See also the description of the Tracing class.

Copyright IBM Corp. 1997, 2004