Product SiteDocumentation Site

8.30. SysGetErrortext


>>-SysGetErrortext(errornumber)--------------------------------><

Obtains a string describing the system error identified by the error number.
Returns a string with the description of the error, or an empty string if no description is available.

Example 8.15. RexxUtil - SysGeterrortext (Windows)

err=SysMkDir("c:\temp")
if err \= 0 then
say "Error" err":"SysGetErrortext(err)

Example 8.16. RexxUtil - SysGeterrortext (Unix)

err=SysMkDir("/home/NotKnown/temp")
if err \= 0 then
say "Error" err":"SysGetErrortext(err)