11.4.1 Details of errors (Windows)
The messages issued by JP1/Advanced Shell might contain information about the C run-time function and Win32(R) API errors.
The table below lists and describes the causes of typical C run-time function errors that are most likely to occur in a JP1/Advanced Shell environment (Windows) and the actions to be taken. For information about other errors that are not listed in the table and Win32 API errors, see the documentation for the Windows being used.
Mnemonic |
Error details |
Cause |
Action |
---|---|---|---|
ENOENT |
No such file or directory |
A file or directory cannot be found. |
Check if the file exists. |
EIO |
Input/Output error |
An input/output error occurred. |
Take appropriate action according to the Windows or hardware information. |
ENXIO |
No such device or address |
There is no access permission for the file. |
Check if there is such a device or that the device is enabled. If the device is disabled, enable it. For other causes, check the documentation for the Windows being used. |
E2BIG |
Arg list too long |
There is a shortage of area for the processing program's arguments or environment variables. |
Check the processing program's arguments. Check and, if necessary, revise the environment variables specified in parameters such as export and the usage of extended script commands in the file management function, and then delete any unneeded environment variable settings. |
EAGAIN |
Resource temporarily unavailable |
There are too many processes, or a temporary memory shortage has occurred. |
If the error recurs when the command is re-executed, terminate unneeded processes. |
ENOMEM |
Not enough space |
Possible causes are as follows:
|
Take the following actions:
|
EACCES |
Permission denied |
Possible causes are as follows:
|
Take the following actions:
|
EFAULT |
Bad address |
An attempt was made to write data into an inaccessible area. The disk to which the data is to be written might have been disconnected. |
If disks are being switched during system switchover, ignore this error message because there is no problem. If you disconnected the disk by mistake, restore the corresponding file from its backup or initialize the file first before using it. If neither of the above applies, contact the system administrator. |
EEXIST |
File exists |
An attempt was made to create a file, but the file already exists. |
Rename the file and re-execute the command. If the existing file is not needed, delete it and re-execute the command. |
EINVAL |
Invalid argument |
An error was detected in memory management information. |
Contact the system administrator. |
ENFILE |
Too many open files in system |
The number of open files exceeded the maximum. |
Check the total number of files in use in the system and close unneeded files. |
EMFILE |
Too many open files |
Too many files are open in the corresponding process. |
Contact the system administrator. |
EFBIG |
File too large |
The file size exceeded the system limit. |
Check and, if necessary, revise the size of a file to be used. |
ENOSPC |
No space left on device |
There is not enough free space in the file system. |
Allocate more free space. |