473,608 Members | 1,809 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Urgent: SQL*LOADER ERROR 500 Unable to open file, file not found.

2 New Member
Hi

I want to use SQL*Loader , an Oracle-supplied utility to load data from a flat file into one database tables.
for this I have write the scripts in the SQL*LOADER control file named loader.ctl. actual data file is mydata.csv that I have mentioned under ‘load data’ section in loader.ctl .
P.N : I am using my personal oracle installed on windows Pc. not using any n/w resources to access oracle DB

Now I know we need to invoke SQL*Loader (from command line) and point it to the control file describing the data in order to initiate this load.


Now when I try from the Command Line The following sqlldr command
sqlldr scott/tiger control= loader.ctl


it gives me following errors
sql*loader error 500 unable to open file
sql*loader eroor 553 file not found
sql*loader error 509 the system can not find specified file.


right now my control file location is c:\loader.ctl.
(but the command cant locate it)

I even tried placing it in c:\oracle and few other different folder under oracle folder. but no luck..!!!
I have tried giving the path in command too but no luck.

Could any one tell me what should be the location of my control file loader.ctl?

Thanks
Vishal
Sep 4 '07 #1
5 36053
debasisdas
8,127 Recognized Expert Expert
please specify the complete path of the file. in the controlfile name and alos the datafile
or

copy the control file to ......\bin\ folder in oracle home folder.

thi s will silve your problem.
Sep 5 '07 #2
holdingbe
78 New Member
Hi

I want to use SQL*Loader , an Oracle-supplied utility to load data from a flat file into one database tables.
for this I have write the scripts in the SQL*LOADER control file named loader.ctl. actual data file is mydata.csv that I have mentioned under ‘load data’ section in loader.ctl .
P.N : I am using my personal oracle installed on windows Pc. not using any n/w resources to access oracle DB

Now I know we need to invoke SQL*Loader (from command line) and point it to the control file describing the data in order to initiate this load.


Now when I try from the Command Line The following sqlldr command
sqlldr scott/tiger control= loader.ctl


it gives me following errors
sql*loader error 500 unable to open file
sql*loader eroor 553 file not found
sql*loader error 509 the system can not find specified file.


right now my control file location is c:\loader.ctl.
(but the command cant locate it)

I even tried placing it in c:\oracle and few other different folder under oracle folder. but no luck..!!!
I have tried giving the path in command too but no luck.

Could any one tell me what should be the location of my control file loader.ctl?

Thanks
Vishal

hi friend,
pls you create log file and then u see the log file what exact error
occurs during the loading........ .
Sep 5 '07 #3
prabhakar123
1 New Member
when I try from the Command Line The following sqlldr command

sqlldr scott/tiger@orcl D:\NEW\\ADCOLNA _PT_GRID

it gives me following errors
sql*loader error 500 unable to open file
sql*loader eroor 553 file not found
sql*loader error 509 the system can not find specified file.



how u have solved the problem?

can you guide me its urgent..

Thanks in advance
s prabhakar
Apr 24 '09 #4
12549paul
1 New Member
Check your source data. If any numeric field is null or blank that should be replaced by zero. Text file should be in default path.
Apr 14 '14 #5
IffyKhan007
1 New Member
If you are using Windows environment, mostly when you save .txt files in other extensions, it will not save proper name as you've given.
For example: If you want to create test.ctl , behind the scene Windows will save it like test.ctl.038739 283 which is not proper controlfile.

Solution:
Open the file
Save as "test.ctl" (put the name within "" in File name bar and save it).
Dec 15 '16 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
4584
by: TimS | last post by:
I am getting a baffling File not found error (0x800A0035). I am writing asp on a windows 2000 server. I build a path and filename from several fields in a jet database using SQL commands, like this: Sql = "SELECT dirs.rootname,dirs.dirname FROM dirs" RS.open Sql RS.movefirst do while not RS.EOF temp1=trim(RS("rootname"))
6
44095
by: Hari Om | last post by:
Here are the details of my error log files: I execute the command and get following message at console: ---------------------------------------------------------------------- ../sqlldr scott/tiger@common control=/full_path/test.ctl log=/full_path/adhoc/test.log SQL*Loader: Release 9.2.0.1.0 - Production on Tue Sep 2 10:49:27 2003 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
3
17804
by: Tomo | last post by:
I'm trying to import text file into some oracle table. I created control file, and text file, create table ..and run sqlldr80 from command promt.. Imort was not succesfull..error occurs..sql*loader-524:partial record found at end of data file (proba.ctl) See what i done, and please help me.. CREATING TABLE ******************* create tabale example( column1 number(3),
2
6449
by: pargat singh | last post by:
Hi Everyone I am using SQLLDR to load the data and i am getting following error SQL*Loader-908: Unable to lock table TABLE_NAME due to ORACLE error 54. Loader Cmd is SQLLDR.EXE userid=XXXXX/YYYY@ZZZZ control=S:\.......\iss3_memdoc.ctl
2
12495
by: Rob Manger | last post by:
Hi Guys, Urgent problem. Trying to compile my solution I get the following error: Linking... LINK: fatal error LNK1181: cannot open input file 'Release\icmpping.abj' Note, I havn't changed anything. This project was developed on another computer that is setup exactly the same way.
2
10858
by: thersitz | last post by:
Hi, I have VStudio2005, SQLServer 2005 dev edition loaded on a windowsXP Pro machine. I installed it ok. I just attempted to load the Personal Web Site Starter Kit (I downloaded off Microsoft's site) to use with VStudio 2005 -- Installing it from the MS site failed without any error messages. When I used VSTudio to open, it loaded ok, but when I went to view the default.aspx page I got this error:
0
2134
by: gaikwadrachit | last post by:
Hi We are uploading a picture image(jpg) as a BLOB in a table using SQL Loader. We are parallely uploading the images at the same time from 2 different sessions on the server. The command for uploading is as follows SQLLDR username/password@DATABASE control=controlfile.ctl log=logfile.log DIRECT=TRUE But on uploading the files simultaneously, we are getting the following error on one of the sessions. >ORA-00604: error occurred at...
1
10570
by: mitsvicious | last post by:
Hello again, I am having a problem to import data in my tables with SQL loader. I have made the following control file with textpad and saved it in UNIX format as a *. txt file which I named MY_CROPS.CTL LOAD DATA INFILE /home/klein/mein/data/MY_CROPS.DAT REPLACE INTO TABLE MY_CROPS FIELDS TERMINATED BY X'09'OPTIONALLY ENCLOSED BY "" (CROP, NAME, START_OF_SEASON, END_OF_SEASON) The MY_CROPS.CTL file is stored in...
4
6990
by: eeriehunk | last post by:
Hi All, Can anyone kindly give me an approach to use a variable in a sql loader ctl file. I am trying to add the value before each insert of row and this value is the file name. So the question is how can I dynamically identify the input data file name, if not, is there a way I can make my SQL Loader to insert a value (file name) before each row into the table. Regards, Aj
0
8488
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8160
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8358
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6826
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4036
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1339
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.