HP 3000 Manuals

IPCERRMSG [ Net IPC 3000/XL Programmer's Reference Manual ] MPE/iX 5.0 Documentation


Net IPC 3000/XL Programmer's Reference Manual

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.



MPE/iX 5.0 Documentation