Product SiteDocumentation Site

7.4.30. ERRORTEXT


>>-ERRORTEXT(n)------------------------------------------------><

Returns the Rexx error message associated with error number n. n must be in the range 0-99. It returns the null string if n is in the allowed range but is not a defined Rexx error number. See Appendix C, Error Numbers and Messages for a complete description of error numbers and messages.
Here are some examples:

Example 7.42. Builtin function ERRORTEXT

ERRORTEXT(16)    ->    "Label not found"
ERRORTEXT(60)    ->    ""