Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Help: RMAN can not see virtual drive
Mladen Gogala wrote:
>
> If you were using an operating system instead of Windows, then you could
> look up the OS documentation of the return codes. Sometimes, they look
> like this:
>
> #define EPERM 1 /* Operation not permitted */
> #define ENOENT 2 /* No such file or directory */
Fortunately Windows provides an easy way to look up OS errors:
C:\>net helpmsg 2
The system cannot find the file specified.
Regardless of OS, if Perl is installed, $^E provides OS-specific error message:
C:\>perl -e "$^E=2; print $^E"
The system cannot find the file specified
/home/yhuang>perl -e '$^E=2; print $^E' #On Linux No such file or directory/home/yhuang>
Error 2 on most OSes happen to mean the same thing.
Yong Huang Received on Wed Nov 02 2005 - 11:44:00 CST