Home » RDBMS Server » Server Utilities » SQLLoader
SQLLoader [message #71231] Fri, 27 September 2002 05:15 Go to next message
kaspyanand
Messages: 5
Registered: September 2002
Junior Member
Hi,
for our project we have to run a job-
everyday employees punch-in,which is collected in a flatfile.this flatfile is send to our server through ftp.Now,we have to load the data from the flat file into the oracle8 databse table called attendance.How can we automate this process?
we are thinking of making a dll which will execute the sqlloader,which will execute a stored procedure for processing the flatfile

but how to go about it?how to write the dll ?there are many issues.
any help will be great!!
thanks
Re: SQLLoader [message #71232 is a reply to message #71231] Fri, 27 September 2002 05:25 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
use sql*loader load data.
wrap that in batch script.
a .bat file if windows and schedule that in scheduler
a shell script in unix and schedule that using cron
Re: SQLLoader [message #71234 is a reply to message #71231] Fri, 27 September 2002 08:06 Go to previous messageGo to next message
kaspyanand
Messages: 5
Registered: September 2002
Junior Member
but my problem is-how to invoke sqlloader from a stored procedure.
i will get a flatfile,which needs to be processed.so we are thinking to call sqlloader from stored procedure.then sqlloader will read the flatfile,and enter data into the table.this whole process needs to be scheduled activity
thanks
Re: SQLLoader [message #71236 is a reply to message #71231] Fri, 27 September 2002 20:36 Go to previous message
kaspyanand
Messages: 5
Registered: September 2002
Junior Member
Hi,
i am getting error when i run the batch file
invalid username/password:login failed
sqlloader 704-internal error-ulc connection failed
thanks
Previous Topic: Re: SQL *Loader - 524: partial record found at the end of datafile (demog.ctl)
Next Topic: SCOTT/TIGER OR SCOTT@TIGER@HSTRING IS DIFFERENT WHY???
Goto Forum:
  


Current Time: Sun Apr 28 13:58:40 CDT 2024