Skip to main content

cbl_error_proc does not execute when animating

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

When an error occurs in an application  program, the routine idenified by cbl_error_proc should be executed. Testing reveals that the error procedure is executed when running the application, but not when the application is animated. When the application is animated errors are displayed on the animator screen, and the error procedure is not being executed.

Resolution:

Animating an Error Procedure

      ----------------------------

      It is not possible to animate through an error procedure, that is,

      code called by CBL_ERROR_PROC.

When an error occurs, animator gains control and displays a message, before normal RTS closedown occurs.  It is in RTS closedown that error and exit procs are executed.

Hence, error and exit procs are not animatable.

Old KB# 2129

0 replies

Be the first to reply!