HP OpenVMS Systems

ask the wizard
Content starts here

Hangup and exit handlers on process disconnect?

» close window

The Question is:

When a process is deleted from a system, as the result of a telnet disconnect
 or a LAT terminal server DSR Logout, are user defined exit handlers (declared
 by "dclexh") executed.

The Answer is :

  Use of the hangup AST is the more common approach.
  The disconnection event (and consider enabling virtual terminal support)
  is typically via hangup.
  Exit handlers are invoked when a normal process exit or during a $forcex
  call occurs, and are not invoked when a process is deleted.

answer written or last revised on ( 11-OCT-2000 )

» close window