[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Problems using QUIT in PASOE to simulate "classic" state-reset (problematic because it

  • Thread starter Thread starter Stefan Drissen
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top