Home » Infrastructure » Unix » unable to execute sqlldr with ftp in single shell scripts
icon2.gif  unable to execute sqlldr with ftp in single shell scripts [message #142262] Fri, 14 October 2005 00:09 Go to next message
rajeshkumar
Messages: 5
Registered: October 2005
Location: New Delhi
Junior Member

Hi all

I'm trying to execute a unix shell scripts which helps me to ftp file from unix server to sun.(its working) but parallely i'm trying to write sqlldr commnad in same scripts & it wont work.
Can some one help.

This is Working

ftp -vin 10.1.1.4 <<!
user root btsolin123
ascii
cd /tmp
lcd /home/oracle/scripts
get vpn4.txt
bye
========================================================
if i'm writing like that it termiante after bye.
ftp -vin 10.1.1.4 <<!
user root btsolin123
ascii
cd /tmp
lcd /home/oracle/scripts
get vpn4.txt
bye
sqlldr userid=username=passwd control= file.ctl log=file.log

Re: unable to execute sqlldr with ftp in single shell scripts [message #142366 is a reply to message #142262] Fri, 14 October 2005 06:30 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
>> parallely i'm trying to write sqlldr commnad
You are not doing it in parallel.
This is serial.
Quote:

connect ftp site
get file
exit
invoke sqlldr


>> it wont work.
What might be the error? We can't guess it.
Previous Topic: How to update the contents in a file conditionally?
Next Topic: Manual Orace 10g database failover process
Goto Forum:
  


Current Time: Mon Nov 25 19:27:47 CST 2024