RCCUMSG
RCCUMSG extracts and returns a requested error message from the message file.
Syntax
RCCUMSG(messageNumber,messageSeverity,callerID,message insert)
Arguments
You can use the following arguments when you run the RCCUMSG function:
- The message number of the requested message.
- The severity of the message (‘I’, ‘W’, ‘E’, or ‘S’).
- The name of the API function requesting the message.
- The text to be inserted into the requested message.
Result
The following table lists the return and reason codes that result from running the RCCUMSG function; it also provides a description of the meaning of the codes.
Return code | Reason code | Description |
---|---|---|
0 | Three-digit representation of the requested message | The requested message is returned successfully. |
12 | 698 | Internal error. |
699 | Internal error. |
Example
PARSE Value RCCUMSG(‘611’,’E’,’RCCVPLTF’) With rccret rccrsn rccmsg
Output
None.