Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: kelley@chuck.sycraft.com
Subject: Re: Help, Datatrieve can't "DEFINE FILE"
Date: 1995/04/28	[thread overview]
Message-ID: <1995Apr28.215552.283@chuck.sycraft.com> (raw)
In-Reply-To: 1995Apr27.092724.8387@malad2.mala.bc.ca

In article <1995Apr27.092724.8387@malad2.mala.bc.ca>, dunnett@mala.bc.ca (Malcolm Dunnett) writes:
> 
> We are having a rather strange problem with a Datatrieve procedure.
> 
> At the point where the procedure is attempting to do a "DEFINE FILE"
> to create a data file for a temporary domain we get the following error:
> 
> %CDD-F-NOWRITE, no privilege to write SYS$SYSDEVICE:[CDDPLUS]
> Reinitializing CDD 
> 
> This strikes me as particularly odd since the "DEFINE FILE" command only
> creates a data file, it doesn't make any changes to the CDD. The procedure
> is able to define domains and records in this dictionary without any
> problems, it's only when it attempts to create a data file that this
> error seems to occur. It also seems the error is not 100% reproducible,
> at several points of fiddling with protection codes I managed to get
> the command to work, but subsequent attempts would fail again. By
> extracting the entire dictionary and reloading it into a different path
> I managed to get the problem to go away, but I'm not confident that it
> won't come back later ( as per my previous temporary successes )
> 
> The relevant versions are:
> 
>   Datatrieve 6.0
>   CDD 5.1
>   Rdb 4.0-2
> 
>  (yes, I know the Rdb version is ancient, but we have some software
> linked to this version and the supplier refuses to send us a version
> linked with a more recent version)

I think I remember that when you define a file in DTR, it's closeness to 
CDD/PLUS requires it to write that information to the CDD.  That way your
WHERE_USES (I may be extremely bad with the syntax!) can show you where 
everything that uses that domain definition is defined.

If you did not have write access to that area, then you could get that error
message.  Since you extracted and created a new one, it seems correct that
you should be able to write, therefore do the define file.

Just a guess though!

> 
>   I tend to suspect this is a Datatrieve problem, since it appears to
> have no reason to attempt to do any writing to the CDD at the failure
> point.
> 
>   Any pointers would be appreciated.
> 
> -- 
> =============================================================================
> Malcolm Dunnett    Malaspina University-College     Email: dunnett@mala.bc.ca
> Computer Services  Nanaimo, B.C. CANADA V9R 5S5       Tel: (604)755-8738



chuck
kelley@chuck.sycraft.com
(719) 260-8215

My opinion not my employers (...but I am my employer?)



  reply	other threads:[~1995-04-28  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-27  4:00 Help, Datatrieve can't "DEFINE FILE" Malcolm Dunnett
1995-04-28  4:00 ` kelley [this message]
1995-05-02  4:00 ` Tony Scandora 708-252-7541
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox