Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Trying to execute a shell script from putty and getting an error

knayam247Mar 8 2007 — edited Mar 9 2007
I have a shell script (abc123.sh) that contains the following:

cd /d01/oradata
sqlldr scott/tiger@DEV control=winreport.ctl log=winreport.log

Basically executing this script should kick off the sql loader script that will load data into an Oracle database table. I use the following to execute the script

-bash-3.00$ ./abc123.sh

Once I execute this script in putty, it throws an error saying that "sqlldr:command not found". Any ideas on how to tackle this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2007
Added on Mar 8 2007
4 comments
1,990 views