NetIPC 3000/XL Programmer's Reference Manual (5958-8600)

Table Of Contents
Chapter 3 91
NetIPC Intrinsics
IPCDEST
IPCERRMSG
Returns the NetIPC error message corresponding to a given error code.
Syntax
IPCERRMSG (
ipcerr
,
msg
,
len
,
result
)
Parameters
ipcerr
(input)
32-bit integer, by value. A valid NetIPC error code.
msg
(output)
Character array, by reference. The NetIPC error
message corresponding to the given error code.
len
(output)
32-bit integer, by reference. The length (in bytes) of
the error message. The maximum is 80 bytes.
result
(output)
32-bit integer, by reference. The error code returned
for this intrinsic call; zero if no error.
Description
The IPCERRMSG intrinsic returns the NetIPC error message
corresponding to a given error code. It also gives the length of the
message. All parameters are required.
Condition codes returned by this intrinsic are:
CCE — Succeeded.
CCL — Failed because of a user error.
CCG — Failed because of an internal error (for example, unable to
open the message catalog, a GENMESSAGE failure, etc.).
This intrinsic cannot be called in split stack mode.