calling SQLPLUS from unix - capturing error feedback
Date: 5 Dec 2002 07:47:27 -0800
Message-ID: <63bdbacc.0212050747.57c40329_at_posting.google.com>
Hello. I have a shell script which calls sqlplus to run a function. My
problem is that under certain conditions (eg: under the wrong unix
account), the call to sqlplus will fail. That is fine, but sqlplus
just returns a 0 no matter what, which does not help. However, it does
dump a load of error-related feedback to stdio (when I call the script
under nohup it dumps it to nonup.out).
My question is - how can I trap the feedback?
I have tried a few things:
None of these work. Can you suggest something else, please?
> dump_file.
Cheers,
Pilatus. Received on Thu Dec 05 2002 - 16:47:27 CET