|  | 
 | ||||
|        | |||||
|  | ||||||
| Other Library Functions | ||||||
| function | OCI_oerhms | 
| Library: Oracle Call Interface database support (OMOCI legacy) Include: omoci.xin | Return type: Integer 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 )
Copyright © Stilo International plc, 1988-2010.