* Help, Datatrieve can't "DEFINE FILE"
@ 1995-04-27 4:00 Malcolm Dunnett
1995-04-28 4:00 ` kelley
1995-05-02 4:00 ` Tony Scandora 708-252-7541
0 siblings, 2 replies; 3+ messages in thread
From: Malcolm Dunnett @ 1995-04-27 4:00 UTC (permalink / raw)
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 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help, Datatrieve can't "DEFINE FILE"
1995-04-27 4:00 Help, Datatrieve can't "DEFINE FILE" Malcolm Dunnett
@ 1995-04-28 4:00 ` kelley
1995-05-02 4:00 ` Tony Scandora 708-252-7541
1 sibling, 0 replies; 3+ messages in thread
From: kelley @ 1995-04-28 4:00 UTC (permalink / raw)
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?)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help, Datatrieve can't "DEFINE FILE"
1995-04-27 4:00 Help, Datatrieve can't "DEFINE FILE" Malcolm Dunnett
1995-04-28 4:00 ` kelley
@ 1995-05-02 4:00 ` Tony Scandora 708-252-7541
1 sibling, 0 replies; 3+ messages in thread
From: Tony Scandora 708-252-7541 @ 1995-05-02 4:00 UTC (permalink / raw)
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. ...
True. Unfortunately, DTR was starting a read/write transaction to the
dictionary, not a read only transaction for the DEFINE FILE command.
I sent in an SPR, and consistent with the DTR group's commitment to
a quality product, it was fixed in the next release, 7.0. I wish
all software were supported as well as DTR.
Upgrade DTR to V7.0, keep Rdb where it is, and all should be well.
Tony Scandora, Argonne National Lab, 708-252-7541
scandora@cmt.anl.gov or scandora@anlcmt.bitnet
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-05-02 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-27 4:00 Help, Datatrieve can't "DEFINE FILE" Malcolm Dunnett
1995-04-28 4:00 ` kelley
1995-05-02 4:00 ` Tony Scandora 708-252-7541
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox