SQL*Loader - file path / error opening the file (merged) [message #214336] |
Mon, 15 January 2007 22:48 |
vikram1780
Messages: 222 Registered: January 2007 Location: Bangalore
|
Senior Member |
|
|
Hi,
In which directory the datafile and controlfile should be. Is it neccesary to give complete path of controlfile while invking it.
sqlldr userid uname/password control=load.ctl.
or
sqlldr userid uname/passsowrd control=c;\data\load.ctl.
Both control file and datafile should be in same folder.
Thanks
KUmar
|
|
|
|
sqlldr 554:error opening the file [message #214342 is a reply to message #214336] |
Mon, 15 January 2007 23:45 |
vikram1780
Messages: 222 Registered: January 2007 Location: Bangalore
|
Senior Member |
|
|
Hi I am facing following error while runnning sql loader
sql*loader -500 unable to open the file
sql*loader -554 error opening file
sql*loader -509: system error: The device doesnt recognise the command
sql*loader -2026: The load was aboterd beacuse sql loader cannot continue.
Here is my control file
Load.ctl
load data
infile 'c:\C:\Documents and Settings\c_vkudik\My Documents\vikram\book1.csv'
into table sam1
fields terminated by "," optionally enclosed by '"'
( scenario_id , item_id , description )
Book1.csv having complete permissions
Just can anyone help in resolving this error.
Thanks in advance
[Updated on: Mon, 15 January 2007 23:54] by Moderator Report message to a moderator
|
|
|
|
Re: sqlldr 554:error opening the file [message #214353 is a reply to message #214348] |
Tue, 16 January 2007 00:24 |
vikram1780
Messages: 222 Registered: January 2007 Location: Bangalore
|
Senior Member |
|
|
load data
infile 'C:\vikram\book1.csv'
into table MST_ITEM
fields terminated by "," optionally enclosed by '"'
( scenario_id , item_id , description )
sqlldr userid=mds/mds control=c:\vikram\load.ctl
control file is in same folder as datafile that is c:\vikram
|
|
|
|
|