I have a java application which is using Oracle SQLLDR utility to upload the CSV file data to the oracle database.
Occasionally, the SQLLDR utility doesn't provide the return/response code and whereas we could see the Index are disabled in the table (This ensures the SQLLDR utility is invoked) and also I have used TOP command in the server to find whether any SQLLDR process is running, but there are no such process.
In addition the DBA confirms, there is no active session on the database related to SQLLDR operation.
Is there anything which needs to be checked in the oracle table level ? Please let me know the way forward.
SQL
Control file
x.txt
Execute
returns
Execute second time to generate error
returns
Truncate table in SQL*Plus by
Using following Java class from inside
Build and run t1.java
returns
Executing second time to mimic error
returns
truncating table again
and changing the input file x.txt
gives for execution
following output
This means:
So in case of
Unfortunately documentation states
which means nothing else then that there is no way to get the errors directly as stderr, pipes etc. and you have to verify the written log file if EX_FAIL or EX_WARN.