I created a file called ldr_test with delimited data.
I created a control file as follows:
into table scott.dept
fields terminated by ';'
when I enter the value for control= c:\ldr_test1.txt, and enter the password as tiger,
i am getting the following error:
SQL*Loader-704: Internal error:ulconnect:OCISessionBegin 
ORA-01034:ORACLE not available
What is missing from my actions? Oracle is available when I run other SQL queries.
Thanks in Advance
11-06-2000, 02:24 PM
When you put the user put:
Where alias is the same text you put in connect string or database in other tools
11-06-2000, 02:28 PM
when i start sql*loader, it first asks control=.
Then when i enter the file name, it directly asks for the password. it does not ask for the user name.
11-06-2000, 02:37 PM
Then put the variable TWO_TASK=alias
$ export TWO_TASK
11-06-2000, 02:43 PM
well, the problem persists.
Should I do something about OCISessionBegin?
11-06-2000, 04:39 PM
There is a bug in SQL*Loader when the characteres in the command are more than 31.
Try to shorten the total length of the command which invokes SQL*Loader
11-06-2000, 04:43 PM
thanks, but i am just typing sqlldr; at the c: prompt!
11-06-2000, 04:50 PM
Can u write something about the environment and the problem in detail.
11-06-2000, 05:07 PM
How are you writing the command?
And then the error appears?
11-06-2000, 06:14 PM
then it prompts with 'control='
when i enter the full path of the file, then it asks for the password.I tried with both tiger(table in which i want to load was in a scott's schema) as well as system, and the result is the same, which is mentioned earlier.
Is there any thing to be taken care prior to invoking the sql*loader? I am using it for the first time, so.....