duplicate key detected

Markus Grossrieder markus.grossrieder@alba-systems.com
Wed, 5 May 2004 11:35:20 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0054_01C43295.0BA9CD90
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Marc,=20

in PHDMAINT, you have some options, but I don't remember which one to =
use (if you have your manuals at hand, you should find some =
information). I would try "recover", "restore" or "reorganize" (after =
making a backup), it may correct your problem ...

HTH, Markus

----- Original Message -----=20
From: "Chris Sharman" <chris.sharman@ccagroup.co.uk>
To: "VAN DE MEERSSCHE Marc" <marc.vandemeerssche@nationalesuisse.be>
Cc: <powerh-l@lists.sowder.com>
Sent: Wednesday, May 05, 2004 9:57 AM
Subject: Re: duplicate key detected


> VAN DE MEERSSCHE Marc wrote:
> > Hello,
> >=20
> > When trying to create a new record in powerhouse dictionnary I =
receive the
> > following error:
> > Data access error. (O-FILE*01)
> > %RMS-F-DUP, duplicate key detected (DUP not set)
> >=20
> > In the other dictionnaries we don't seem to have the same problem.
> >=20
> > We're using Powerhouse 7.10.G on a OpenVMS system.
> >=20
> > Can anyone help with this problem?
>=20
> Looks like a dictionary corruption of some kind.
> Since experiencing similar many years ago (V6, when we'd just started=20
> using PH), we have a batch job take a source backup every night.
>=20
> All that's necessary is:
> $ qshow
> set language pdl
> set security
> generate all
>=20
> We then automatically store the source in CMS (if changed).
> Naturally, in accordance with Murphy's Law, such a backup is only=20
> necessary if you don't have one - we've never used ours.
>=20
> We also use the FDL editor to tune the dictionary files, but that's a=20
> performance thing, not data integrity/security.
>=20
> However, to recover after the fact may be more difficult.
> I'd recommend:
> 1. Generate PDL (as above) to a file.
> 2. Inspect for anomalies.
> 3. Generate FDL (anal/rms/fdl) and rebuild the dictionary (conv/fdl on =

> each of files 1,2,3,4) (file 0 is not indexed, so won't benefit). This =

> will probably rectify any RMS corruption, but not any application=20
> corruption.
> 4. Generate the PDL again, and see whether there are differences, and=20
> whether it's better, worse, or the same. Test new record creation too.
>=20
> Further steps would include re-creating the entire dictionary from the =

> PDL, and/or cleaning up any orphaned and unused data (screen 12, =
global=20
> rename/delete).
>=20
> When you've got it cleaned up, your new record creation should work=20
> properly.
>=20
> Good luck!
> Chris
>=20
>=20
> =
-----------------------------------------------------------------------
>=20
> Any views expressed in this message are those of the sender and not
> necessarily those of CCA Group.  The unauthorized use, disclosure,
> copying or alteration of this message is forbidden.  The contents of
> this message may be confidential and/or privileged, copyright CCA =
Group
> and are intended solely for the use of the individual or entity to =
whom
> they are addressed.  Whilst this message has been scanned, CCA Group
> cannot guarantee that it is virus free or compatible with your systems
> and accepts no responsibility for any loss or damage arising from its
> use. The recipient is advised to run their own anti-virus software. If
> you receive this message in error please contact
> postmaster@ccagroup.co.uk immediately, destroy any copies and delete =
it
> from your computer systems.
> =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D
> Mailing list: powerh-l@lists.sowder.com
> Subscribe: "subscribe" in message body to =
powerh-l-request@lists.sowder.com
> Unsubscribe: "unsubscribe <password>" in message body to =
powerh-l-request@lists.sowder.com
> http://lists.sowder.com/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a =
subscriber.
> 
----------------------------------------
My Inbox is protected by SPAMfighter
310 spam mails have been blocked so far.
Download free www.spamfighter.com today!
------=_NextPart_000_0054_01C43295.0BA9CD90
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Hi Marc, </FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>in PHDMAINT, you have some =
options, but I=20
don't remember which one to use (if you have your manuals at hand, you =
should=20
find some information).&nbsp;I would try "recover",&nbsp;"restore" or=20
"reorganize" (after making a backup), it may correct your problem=20
...</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>HTH, Markus</FONT></DIV></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>----- Original Message ----- =
</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>From: "Chris Sharman" =
&lt;</FONT><A=20
href=3D"mailto:chris.sharman@ccagroup.co.uk"><FONT face=3D"Courier New"=20
size=3D2>chris.sharman@ccagroup.co.uk</FONT></A><FONT face=3D"Courier =
New"=20
size=3D2>&gt;</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>To: "VAN DE MEERSSCHE Marc" =
&lt;</FONT><A=20
href=3D"mailto:marc.vandemeerssche@nationalesuisse.be"><FONT =
face=3D"Courier New"=20
size=3D2>marc.vandemeerssche@nationalesuisse.be</FONT></A><FONT =
face=3D"Courier New"=20
size=3D2>&gt;</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Cc: &lt;</FONT><A=20
href=3D"mailto:powerh-l@lists.sowder.com"><FONT face=3D"Courier New"=20
size=3D2>powerh-l@lists.sowder.com</FONT></A><FONT face=3D"Courier New"=20
size=3D2>&gt;</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Sent: Wednesday, May 05, 2004 =
9:57=20
AM</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Subject: Re: duplicate key=20
detected</FONT></DIV>
<DIV><FONT face=3D"Courier New"><BR><FONT =
size=3D2></FONT></FONT></DIV><FONT=20
face=3D"Courier New" size=3D2>&gt; VAN DE MEERSSCHE Marc wrote:<BR>&gt; =
&gt;=20
Hello,<BR>&gt; &gt; <BR>&gt; &gt; When trying to create a new record in=20
powerhouse dictionnary I receive the<BR>&gt; &gt; following =
error:<BR>&gt; &gt;=20
Data access error. (O-FILE*01)<BR>&gt; &gt; %RMS-F-DUP, duplicate key =
detected=20
(DUP not set)<BR>&gt; &gt; <BR>&gt; &gt; In the other dictionnaries we =
don't=20
seem to have the same problem.<BR>&gt; &gt; <BR>&gt; &gt; We're using =
Powerhouse=20
7.10.G on a OpenVMS system.<BR>&gt; &gt; <BR>&gt; &gt; Can anyone help =
with this=20
problem?<BR>&gt; <BR>&gt; Looks like a dictionary corruption of some=20
kind.<BR>&gt; Since experiencing similar many years ago (V6, when we'd =
just=20
started <BR>&gt; using PH), we have a batch job take a source backup =
every=20
night.<BR>&gt; <BR>&gt; All that's necessary is:<BR>&gt; $ qshow<BR>&gt; =
set=20
language pdl<BR>&gt; set security<BR>&gt; generate all<BR>&gt; <BR>&gt; =
We then=20
automatically store the source in CMS (if changed).<BR>&gt; Naturally, =
in=20
accordance with Murphy's Law, such a backup is only <BR>&gt; necessary =
if you=20
don't have one - we've never used ours.<BR>&gt; <BR>&gt; We also use the =
FDL=20
editor to tune the dictionary files, but that's a <BR>&gt; performance =
thing,=20
not data integrity/security.<BR>&gt; <BR>&gt; However, to recover after =
the fact=20
may be more difficult.<BR>&gt; I'd recommend:<BR>&gt; 1. Generate PDL =
(as above)=20
to a file.<BR>&gt; 2. Inspect for anomalies.<BR>&gt; 3. Generate FDL=20
(anal/rms/fdl) and rebuild the dictionary (conv/fdl on <BR>&gt; each of =
files=20
1,2,3,4) (file 0 is not indexed, so won't benefit). This <BR>&gt; will =
probably=20
rectify any RMS corruption, but not any application <BR>&gt; =
corruption.<BR>&gt;=20
4. Generate the PDL again, and see whether there are differences, and =
<BR>&gt;=20
whether it's better, worse, or the same. Test new record creation =
too.<BR>&gt;=20
<BR>&gt; Further steps would include re-creating the entire dictionary =
from the=20
<BR>&gt; PDL, and/or cleaning up any orphaned and unused data (screen =
12, global=20
<BR>&gt; rename/delete).<BR>&gt; <BR>&gt; When you've got it cleaned up, =
your=20
new record creation should work <BR>&gt; properly.<BR>&gt; <BR>&gt; Good =

luck!<BR>&gt; Chris<BR>&gt; <BR>&gt; <BR>&gt;=20
-----------------------------------------------------------------------<B=
R>&gt;=20
<BR>&gt; Any views expressed in this message are those of the sender and =

not<BR>&gt; necessarily those of CCA Group.&nbsp; The unauthorized use,=20
disclosure,<BR>&gt; copying or alteration of this message is =
forbidden.&nbsp;=20
The contents of<BR>&gt; this message may be confidential and/or =
privileged,=20
copyright CCA Group<BR>&gt; and are intended solely for the use of the=20
individual or entity to whom<BR>&gt; they are addressed.&nbsp; Whilst =
this=20
message has been scanned, CCA Group<BR>&gt; cannot guarantee that it is =
virus=20
free or compatible with your systems<BR>&gt; and accepts no =
responsibility for=20
any loss or damage arising from its<BR>&gt; use. The recipient is =
advised to run=20
their own anti-virus software. If<BR>&gt; you receive this message in =
error=20
please contact<BR>&gt; </FONT><A =
href=3D"mailto:postmaster@ccagroup.co.uk"><FONT=20
face=3D"Courier New" size=3D2>postmaster@ccagroup.co.uk</FONT></A><FONT=20
face=3D"Courier New" size=3D2> immediately, destroy any copies and =
delete it<BR>&gt;=20
from your computer systems.<BR>&gt; =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D=20
=3D =3D =3D =3D =3D =3D<BR>&gt; Mailing list: </FONT><A=20
href=3D"mailto:powerh-l@lists.sowder.com"><FONT face=3D"Courier New"=20
size=3D2>powerh-l@lists.sowder.com</FONT></A><BR><FONT face=3D"Courier =
New"=20
size=3D2>&gt; Subscribe: "subscribe" in message body to </FONT><A=20
href=3D"mailto:powerh-l-request@lists.sowder.com"><FONT face=3D"Courier =
New"=20
size=3D2>powerh-l-request@lists.sowder.com</FONT></A><BR><FONT =
face=3D"Courier New"=20
size=3D2>&gt; Unsubscribe: "unsubscribe &lt;password&gt;" in message =
body to=20
</FONT><A href=3D"mailto:powerh-l-request@lists.sowder.com"><FONT=20
face=3D"Courier New" =
size=3D2>powerh-l-request@lists.sowder.com</FONT></A><BR><FONT=20
face=3D"Courier New" size=3D2>&gt; </FONT><A=20
href=3D"http://lists.sowder.com/mailman/listinfo/powerh-l"><FONT=20
face=3D"Courier New"=20
size=3D2>http://lists.sowder.com/mailman/listinfo/powerh-l</FONT></A><BR>=
<FONT=20
face=3D"Courier New" size=3D2>&gt; This list is closed, thus to post to =
the list you=20
must be a subscriber.<BR>&gt; </FONT>
<br><hr>My Inbox is protected by SPAMfighter <br>310 spam mails have been blocked so far.<br>Download free <a href=3D"http://www.spamfighter.com/">SPAMfighter</a> today!<br>
</BODY></HTML>

------=_NextPart_000_0054_01C43295.0BA9CD90--