Regarding log file
hi all
I am calling a procedure within script.Even if the prcoedure is not executed successfully. In log file it is recorded as procedure successfully executed .How to capture errors in log file if the procedure is not executed in unix script
$SQP $clf_user_name/$clf_password@$db_server <<EOF> file_out_before.log
exec BatchImportCursor('$criteriano','$filename')
commit;
EOF
but when i execute procedure in backend it gives me an error invalid sql statemetns or numeric or value error.These error has to be recorded in log file.Any errors in database is not geting recorded in log file.How to record databse errors.
Help please
Last edited by ancys; 09-07-2006 at 05:12 AM.
|