HP OpenVMS Systems

ask the wizard
Content starts here

Controlling order of RMS operations?

» close window

The Question is:

 
Is there any way to have a process place an RMS
service request at the head of the ACP queue.
This would be useful if a number of applications
are accessing a particular file, but one critical
application needs to perform file operations
without having to wait behind other processes.
 
Thanks.
 


The Answer is :

 
  The Wizard will assume that the primary process is running at a slightly
  higher base priority than the less important process(es).
 
  Tools such as DECamds can be quite useful to determine what sort of
  contention is occuring -- the Wizard would initially suspect file lock
  contention rather than I/O queue contention.
 
  Without knowing rather more about the reading and writing habits of
  the application images involved, it is rather difficult to know how to
  approach this particular problem -- solutions could range from removing
  all accessors other than the primary, to the use of the lock manager
  among cooperating accessor processes to request priority access, to the
  use of the RRL read-regardless setting and/or the appropriate no-lock
  (NLK) or manual unlock (ULK) options, to the use of a combination of the
  timeout (TMO) bit and an application-implemented record holder lock
  timeout processing routine used by all file accessors to prevent any
  record from being held too long.
 

answer written or last revised on ( 1-DEC-1998 )

» close window