HP OpenVMS Systems

ask the wizard
Content starts here

Tracking Global Section Accessors?

» close window

The Question is:

 
If I have a file mapped to a global section accessed by one or more
processes I'll have to stop the processes before I can delete the file. How
do I find out which processes these are?
 
 


The Answer is :

 
  The easiest approach is to track the global section access within the
  application, and to provide an application-specific shutdown and cleanup
  mechanism.
 
  Short of rooting around in the page tables and the window control
  blocks and the associated process channel lists, determining which
  processes have mapped a global section is not a particularly easy
  task -- global sections are little more than a variation on the basic
  memory management page tables.
 

answer written or last revised on ( 18-NOV-1999 )

» close window