function
| Library: Oracle Call Interface database support (OMOCI legacy) Include: omoci.xin | Returns: Returns the length of the error message. | 
define external integer function OCI_oerhms
   (  value OCI_Handle_type lda,
      value integer rcode,
      modifiable stream buf,
      value integer bufsiz
   )
This function returns the text of an Oracle error message for a given error code.
Input arguments:
Output argument:
Example:
set ErrMsgLen to OCI_oerhms ( ConnectionHandle, OCI_GetErrorCode( ConnectionHandle ), ErrMsg, 1024 )