|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by pradeep_bansal in Oracle Database, HijackThis Software, Bourne-Again Shell (bash)
I am executing a sql script 'test.sql ' from shell script. Script 'test.sql' writes output to a flat file using spool.
'test.sql' body is similar like
spool /root/test.inl
select * from dual;
spool off
exit
I want to ensure whether it has run succesfully, if not write log error to some test.log file.
Currently it is writting output and error in same file i.e in test .inl
Kindly help me out to collect error log seperatly asap.
Thanks
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625