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:

messageNumber
The message number of the requested message.
messageSeverity
The severity of the message (‘I’, ‘W’, ‘E’, or ‘S’).
callerID
The name of the API function requesting the message.
message insert
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.

Table 1. Result of running the RCCUMSG function
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.