Hi,
I have a problem, I open a sqlplus session on a bash script and I have to catch the error output.
I try to redirect the error output in this way:
sqlplus $DBCONN_STRING <<! 1>>$MSG_FILE 2>>$ERR_FILE
But in this way I have the ERR_FILE (that have to contain the errors) blank! The error is in the MSG_FILE (that contains other information, but I need only error.
How can I put the error messages in ERR_FILE?
Thanks, bye bye.