In SQL Anywhere 11.0.1 the "MESSAGE ... FOR CONNECTION ... IMMEDIATE" syntax was added which allowed a second connection to receive a message promptly without needing to be making requests. |
PowerScript does not support callbacks but the PowerBuilder Native Interface (PBNI) should. I have no experience with PBNI so I cannot confirm but perhaps you can raise a question in a PowerBuilder forum asking how to implement callbacks in PBNI. Historically, we have suggested creating a DLL that implements the callback and PB can call into the DLL to check for the return from the callback. |