![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A SQL Loader Script | LiquidChild | Shell Programming and Scripting | 2 | 04-23-2007 03:17 AM |
| Bus error(coredump) while running SQL*Loader in HP Unix 11 | srinivas_paluku | UNIX for Advanced & Expert Users | 3 | 04-23-2007 12:53 AM |
| Shell script for accessing a file in the network drive and invoking oracle sql loader | sayydevara | Shell Programming and Scripting | 0 | 03-20-2007 12:54 PM |
| Running Script from Telnet - Problems | pauljohn | UNIX for Dummies Questions & Answers | 1 | 10-03-2006 10:58 AM |
| error running COBOL - ".loader does not exist" | jbrubaker | UNIX for Dummies Questions & Answers | 16 | 08-02-2006 09:21 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
problems running a sql loader script
Hi Folks,
I have created a number of unix scripts that i can run from the scheduler on a server-side application that we use (Chordiant Marketing Director). All scripts are working except one. This last script is a user load script which first truncates a table and then loads it using a flat file. The script comprises of a ctl file, a sql file (for truncating), a data file, a generic load script and an oracleset.ini file. When I run it directly from a unix session (Telnet) everything works, but when I try to run it from the application it gives me a status of completed but doesn't actually do anything. I have set permissions on all files and directories to rwxrwxrwx but still no success. I have tried several different unix accounts but none of them work (including the master user that owns all of the scripts and files). Is there anything obvious that I could be missing here? Any help much appreciated. Cheers, James |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
The first thing to check is the environment variables in the scheduled script.
Next make sure the script redirects stderr and stdout to the same log file. cron jobs run with a different environment - eg. $ORACLE_HOME probably is not defined. |
|
#3
|
|||
|
|||
|
Quote:
Regards, Johan Louwers. http://www.terminalcult.org |
|||
| Google The UNIX and Linux Forums |