S
Stefan Drissen
Guest
Whenever a connection to a foreign DataServer database was lost the session was so unusable that all our attempts to reconnect and restart it nicely failed that we ultimately resorted to blowing up the stack: FUNCTION terminateAgent RETURNS LOGICAL PRIVATE ( i_cprocedure AS CHARACTER, i_cerror AS CHARACTER ): IF i_cprocedure > "" THEN MESSAGE SUBSTITUTE( "&1: &2, terminating agent.":u, i_cprocedure, IF i_cerror > "" THEN i_cerror ELSE "A fatal error occurred":u ). terminateAgent( ?, ? ). END FUNCTION. /* terminateAgent */
Continue reading...
Continue reading...