Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
sqlplus from unix shell
Name: nauj Date: September 15, 2008 at 00:16:49 Pacific OS: AIX 5.1 CPU/Ram: IBM
Comment:
I want to control the execution of a PL/SQL procedure from a UNIX shell script. Below, I include the script. The control variable which should recive the return of the procedure, dosn't work well. I want to control the return, because I want to make a UNIX script to control the execution of a load data process with some Oracle procedures. Any advice will be greatly apreciatted.
The exit code is set immediately after a command is executed. You are looking at the exit code of the echo command and you probably want to check the previous call command.
If I'm interpreting this correctly, you probably want to do this:
Summary: Hi Guys, I have a unix shell script which is like this... sqlplus -s $FEB_UID/$FEB_PWD@feb_dev |& print -p "select '|'||job_id||'|' from jobreq where status = 'PENDING';" print -p "exit...
Summary: Hello, I have an shell script to transfer a 50KB TXT file from UNIX to NT4 server. The transferred file become 4-5KB less... When I look inside the transferred file I see that some lines are deleted ...
Summary: hi, Can some one help me to automate ftp from unix server to local machine? I have a shell script from which I want to ftp log file to pc. Thanks ...