db2commexitFreeErrormsg API - Free error message memory
This function frees the memory that is used to hold an error message from a previous API call. It is applicable for both types of communication exit libraries.
API header file
db2commexit.h
API and data structure syntax
SQL_API_RC ( SQL_API_FN * db2commexitFreeErrormsg )
( char * errormsg );db2commexitFreeErrormsg API Parameters
- errormsg
- Input. A pointer to the error message returned from a previous API call.