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