Set stty tostop to stop a background Adaptive Server from writing output to the terminal.
stty -tostop
If you are redirecting all Adaptive Server output to files, you need not change the stty setting.