22 OSS Error Information
This section describes how to find more information on Open System Services (OSS) errors.
Brief OSS Error Information
Guardian procedures that make use of OSS functions can return OSS errno values in addition to
Guardian file-system error codes.
You can obtain a short explanation of any OSS errno value or Guardian file-system error code at
the TACL prompt by entering:
ERROR number
If you want to scan a list of all the errors, enter:
ERROR -1
Detailed OSS Error Information
Obtaining a more detailed explanation of an OSS error requires two steps:
In the errnoh file, look up the OSS errno symbolic name that corresponds to the OSS errno
value returned.
To find the error description, look up the OSS errno symbolic name in the Open System
Services System Calls Reference Manual.
Example
For example, to find a description for OSS errno value 4028 from the Guardian environment,
perform the following steps:
1.
Using an editor, search the errnoh file for the OSS errno symbolic name corresponding to
4028:
> edit $system.system.errnoh read
TEXT EDITOR - T9601B30 - (08MAR87)
CURRENT FILE IS \MYSYS.$SYSTEM.SYSTEM.ERRNOH
*list unseq "4028"
#define ENOSPC 4028 /* No space left on device */
...
*exit
>
The OSS errno symbolic name corresponding to 4028 is ENOSPC.
2.
Refer to the Open System Services System Calls Reference Manual to find the description of
ENOSPC:
[ENOSPC] No space left on device. During the write( ) function on a regular file or when extending
a directory, there is no free space left on the device.
Brief OSS Error Information 279