<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Arial">Hello Eve</font>ryone,<br>
<br>
I have a Proc A which has an open Dets table and is doing a high
rate of read and writes to the Dets table.<br>
<br>
I would like Proc B to have read-only access to same Dets table. An
attempt to open the file with read-only access by Proc B results in
<font face="Courier New, Courier, monospace">{error,{not_closed,
<FILE>}}</font> as follows<br>
<br>
<font face="Courier New, Courier, monospace">>
dets:open_file(tab, [{access, read}, {file, <FILE>}]).<br>
{error,{not_closed, <FILE>}}<br>
</font><br>
However when Proc B attempts to open the table in
read-write(default) mode, the table is opened successfully. From my
understanding the default option works because it will result in an
attempt to repair the table before it is opened. I'm bit wary of
this because I want only Process A to make any changes to the table.<br>
<br>
My questions:<br>
<br>
1. Is there an alternative way to allow Process B read-only access
to the table?<br>
- preferably without Process A closing the table<br>
<br>
2. Do I understand correctly that the default option works because
the table is repaired?<br>
<br>
Regards,<br>
Phillip<br>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.01030105.01060200@pharos-avantgard.com"
border="0"></div>
</body>
</html>