|
|
|
SQL*Loader exit codes?
|
|||
|---|---|---|---|
|
#18+
WinNT4 SQL*Loader все время возвращает errorlevel=0, чтобы не происходило! В "SQL*Loader Command-Line Reference" утверждается, что их м.б. аж четыре. Может какието параметры настройки? (Options(errors=0)) - не помогает Плиз, хелп! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.04.2003, 14:50 |
|
||
|
SQL*Loader exit codes?
|
|||
|---|---|---|---|
|
#18+
Primer *.bat faila: sqlldr user/passwd CONTROL=load.CTL LOG=load.LOG BAD=load.BAD if errorlevel 4 echo SQL*Loader execution encountered a fatal error if errorlevel 3 echo SQL*Loader execution exited with failure, see logfile if errorlevel 2 echo SQL*Loader execution exited with warning, see logfile if errorlevel 0 echo SQL*Loader execution successful sqlldr exit codes (on Windows): Successful 0 Unrecoverable failure 3 At least one row rejected 2 O/S Errors 4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.04.2003, 15:15 |
|
||
|
SQL*Loader exit codes?
|
|||
|---|---|---|---|
|
#18+
а Вы доку внимательно читали? Там сказано - "For UNIX". можете у себя на Винде поставить какое-нибудь Юних окружение типа MKS, тогда будет работать, но тоже не без приколов :-) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.04.2003, 15:18 |
|
||
|
SQL*Loader exit codes?
|
|||
|---|---|---|---|
|
#18+
2Delerium Именно так и делаю. Ноль. Всегда. ПРобовал- неправильные иммена файлов, неверный логон, плохие данные. 2.dba В доке нет явного указания на отсутствие этой возможности под WinNT из: Oracle8 Utilities Release 8.0 A58244-01 Library Product Contents Index 6.SQL*Loader Command-Line Reference quote---- Oracle8 SQL*Loader provides the results of a SQL*Loader run immediately upon completion. Depending on the platform, as well as recording the results in the log file, the SQL*Loader may report the outcome also in a process exit code. This Oracle8 SQL*Loader functionality allows for checking the outcome of a SQL*Loader invocation from the command line or script. The following load results return the indicated exit codes quote---- т.е Depending on the platform ... may report - это ведь не приговор ;) может еше другая дока есть? >..as well as recording the results in the log file - это как понять? может, так, что ехит код генерится, только когда не пишется log? Но я не нашел возможности log выключить ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.04.2003, 15:35 |
|
||
|
SQL*Loader exit codes?
|
|||
|---|---|---|---|
|
#18+
Но я не нашел возможности log выключить Eto kak nja nashel? sqlldr LOG=imja_log_faila njerabotajet ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.04.2003, 15:43 |
|
||
|
SQL*Loader exit codes?
|
|||
|---|---|---|---|
|
#18+
>sqlldr LOG=imja_log_faila njerabotajet ? Работает, но это ведь не выключение. Или что по вашему надо вписать вместо imja_log_faila, что бы логфайл *не* создавался? (nul я уже попробовал :) - игнорируется) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.04.2003, 15:47 |
|
||
|
SQL*Loader exit codes?
|
|||
|---|---|---|---|
|
#18+
Izvinjajusj, nje tak ponjal. Logi tut nje prichom. Versija sqlldr'a ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.04.2003, 15:53 |
|
||
|
SQL*Loader exit codes?
|
|||
|---|---|---|---|
|
#18+
SQL*Loader: Release 8.0.5.0.0 И, возможно предвосхищая следующий вопрос по серверу Version: 8.1.7.4.1 Compatibility: 8.1.0 Ported: IBMPC/WIN_NT-8.1.0 Description: Oracle8i Enterprise Edition Release 8.1.7.4.1 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.04.2003, 15:57 |
|
||
|
|

start [/forum/topic.php?fid=52&msg=32136783&tid=1991082]: |
0ms |
get settings: |
7ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
176ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
| others: | 245ms |
| total: | 503ms |

| 0 / 0 |
