  ACC, ACP file access failed (on sys$getuai)? 
 The Question is:
 
I have an application that uses the SYS$GETUAI call to
return a user's UIC given the username.  I am getting the
error "ACP file access failed".  This problem is
intermittent.  Could this be a locking problem on the
SYSUAF file?
 
The software is checking UICs for different
users.  However, the software is installed with privileges
and enables the privileges while running, so access to the
record(s) should not be a problem.
 
Any suggestions?
 
 The Answer is:
 
  There is no way to narrow down the cause of this problem without further
  information -- the reported symptoms could result from a (potential)
  OpenVMS problem, a (potential) programming problem, or a (potential)
  process quota problem.
 
  When asking these sorts of programming-related questions, the Wizard asks
  that a short standalone example program that demonstrates the problem be
  provided -- without this example code, there can only be guesses.
 
  You will also want to confirm which privileges have been included on the
  image when it was installed, as sys$getuai has specific privileges required.
  You will also want to confirm that the image in question is an executable
  image, and not a shareable image or other type of image.
 
  The error ACC ("ACP file access failed") implies a problem opening a file.
  There is a secondary status reported with this error (via the STV field),
  but if this is occuring inside the sys$getuai call then that secondary
  status field is not readily accessable.
 
  If you are using the context argument of sys$getuai, recode the program
  for the purposes of testing -- the context argument is associated with
  the file open processing.
 
  The Wizard would encourage you to contact the customer support center for
  additional assistance -- please expect to be asked to provide a short,
  standalone example program that demonstrates the problem.
