Hi Bob,
While I'm no Windows/UD expert I did think of a few things while reading your
problem:
1. You say it works every time when you run it from your logged in session. If
this were unix I'd say check the PATH in your script. What ever the windows
equivalent to unix PATH environment variable
Peter,
Thanks for digging for more information. It sounds to me like RLOWNER was set
to the RLTABSZ, effectively saying that every read lock associated with a given
semaphore group could be a READL lock. Since every READL lock would displace a
possible READU lock, you could, with 300