Make your own free website on
3.2.27. ERRORTEXT(errno)

Returns the REXX error message associated with error number errno.

If the error message is not defined, a nullstring is returned.

The error messages in REXX might be slightly different between the
various implementations.  The standard says that errno must be in
the range 0-99, but in some implementations it might be within a
less restricted range which gives room for system specific
messages.  You should in general not assume that the wordings and
ordering of the error messages are constant between
implementations and systems.

     ERRORTEXT(20)  –>   ‘Symbol expected’
     ERRORTEXT(30)  –>   ‘Name or string too long’
     ERRORTEXT(40)  –>   ‘Incorrect call to routine’