Re: Sql Loader and errorlevels for NT? [message #374858] |
Fri, 06 July 2001 22:53 |
from japan
Messages: 1 Registered: July 2001
|
Junior Member |
|
|
I also cannot get the errorlevel.
on Oracle 8.0.4 & NT Workstation 4.0(SP5)
SQLLDR80 .......
If ERRORLEVEL 0 GoTo Error0End
If ERRORLEVEL 1 GoTo Error1End
If ERRORLEVEL 2 GoTo Error2End
:Error0End
ECHO 0
GOTO End
:Error1End
ECHO 1
GOTO End
:Error2End
ECHO 2
GOTO End
:End
--> It returns '0'
SQLLDR80 .......
If ERRORLEVEL 1 GoTo Error1End
If ERRORLEVEL 0 GoTo Error0End
If ERRORLEVEL 2 GoTo Error2End
:Error0End
ECHO 0
GOTO End
:Error1End
ECHO 1
GOTO End
:Error2End
ECHO 2
GOTO End
:End
--> It returns '1'
|
|
|