DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: SQL*Loader problem

  1. #1
    Join Date
    Oct 2000
    Posts
    211
    I created a file called ldr_test with delimited data.
    I created a control file as follows:
    ---------
    LOAD DATA
    INFILE 'c:\ldr_test.txt'

    into table scott.dept
    fields terminated by ';'
    (
    deptno number(2),
    dname varchar2(14),
    loc varchar2(13)
    )
    ------------


    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 [0]
    ORA-01034:ORACLE not available

    What is missing from my actions? Oracle is available when I run other SQL queries.

    Thanks in Advance
    manjunath

  2. #2
    When you put the user put:
    scott@alias
    Where alias is the same text you put in connect string or database in other tools
    Ramon Caballero, DBA, rcaballe@yahoo.com

  3. #3
    Join Date
    Oct 2000
    Posts
    211
    thanks ramon,
    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.
    manjunath

  4. #4
    Ok.
    Then put the variable TWO_TASK=alias
    In DOS
    C:\>set TWO_TASK=alias
    In Unix
    $ TWO_TASK=alias
    $ export TWO_TASK
    Ramon Caballero, DBA, rcaballe@yahoo.com

  5. #5
    Join Date
    Oct 2000
    Posts
    211
    well, the problem persists.
    Should I do something about OCISessionBegin?
    manjunath

  6. #6
    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
    Ramon Caballero, DBA, rcaballe@yahoo.com

  7. #7
    Join Date
    Oct 2000
    Posts
    211
    thanks, but i am just typing sqlldr; at the c: prompt!
    manjunath

  8. #8
    Join Date
    Sep 2000
    Posts
    17
    Can u write something about the environment and the problem in detail.

  9. #9
    How are you writing the command?
    you put?
    C:\>sqlldr
    And then the error appears?
    Ramon Caballero, DBA, rcaballe@yahoo.com

  10. #10
    Join Date
    Oct 2000
    Posts
    211
    c:\>sqlldr;
    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.....
    manjunath

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width