OS.ERROR() |
![]() ![]() ![]() |
The OS.ERROR() function returns the error number associated with the last recorded operating system level error.
Format
OS.ERROR()
Some actions that return errors via the STATUS() function are related to errors from operating system calls. The OS.ERROR() function returns the value of the most recent operating system error. The error codes for which this is valid are all marked in the SYSCOM ERR.H include record.
The !ERRTEXT() subroutine will automatically insert this value into relevant expanded error messages.
|