Hi,
In the application why not do a query timeout? You will have to catch the exception and move the application forward. setQueryTimeout(seconds)
Is the stored procedure on the ASE?
Is the stored procedure dyanamic and made from the application?
Why the stored procedure on the ASE is still taking so long would be something to look at.
Maybe the dba on the ASE should do some monitoring on the stored procedure and tune it if the procedure is located on the ASE.
Thanks,
Dawn Kim