we just upgraded to TTU 15.10 on our unix boxes... our shell scripts are now spitting out this message but they are working fine. is there a way to not have this displayed. we tired the .quit and .exit and adding the errorcode to the end of both... that did not work. any ideas?
echo "sel date;" >> $output/ch_password.btq
echo "quit" >> $output/ch_password.btq
echo > $output/ch_password.log
bteq <<EOF>> $output/ch_password.log
the output on the unix screen is
*** Encountered EOF on RUN file. Returning to stdin.
but the return code is 0 and the script runs fine. just looking to have this removed.
Fred is correct.
But if I understand your post correctly, you simply don't want the message displayed on your unix screen. If that is the case, then you can try redirecting stderr to your log file, such as:
bteq <<EOF>> $output/ch_password.log 2>&1
Or if you upgrade to BTEQ 15.10.01.06 (or higher), that particular message will be sent to stdout, and therefore will be written to your log file. Prior to BTEQ 15.10.01.06, that message was being sent to stderr.
Which BTEQ 15.10.xx.xx version are you using?
If I misunderstood the issue, please elaborate.