Operating System - OpenVMS
1753937 Members
9378 Online
108811 Solutions
New Discussion юеВ

Re: Misleading CREATE-I-EXISTS Error

 
Robert Atkinson
Respected Contributor

Misleading CREATE-I-EXISTS Error

What do you think to this error? :-

GAMMA_ROB$$$ INIT/OWNER=SYSTEM/NOHIGH $1$DGA131 SEEVIEW
GAMMA_ROB$$$ CRE/DIR $1$DGA131:[SEEVIEW]/LOG
%CREATE-I-EXISTS, $1$DGA131:[SEEVIEW] already exists
GAMMA_ROB$$$ DIR $1$DGA131:[000000]
%DIRECT-E-OPENIN, error opening $1$DGA131:[000000]*.*;* as input
-RMS-E-DNR, device not ready, not mounted, or unavailable
7 REPLIES 7
John Abbott_2
Esteemed Contributor

Re: Misleading CREATE-I-EXISTS Error

Hi Robert, Can't see the $ MOUNT command, which I assume explains the -E-OPENIN error. As for the CRE/DIR, do you have any symbols or logicals set which may have accidentally changed the behavior?

Kind Regards
John.
Don't do what Donny Dont does
Robert Atkinson
Respected Contributor

Re: Misleading CREATE-I-EXISTS Error

No, appears to be any device that exists but isn't mounted :-

ALPHA_RAA$$$ sh dev dga229

Device Device Error Volume Free Trans Mnt
Name Status Count Label Blocks Count Cnt
$1$DGA229: (ALPHA) Online 9
ALPHA_RAA$$$ cre/dir $1$dga229:[robs]
%CREATE-I-EXISTS, $1$DGA229:[ROBS] already exists
ALPHA_RAA$$$
Hoff
Honored Contributor

Re: Misleading CREATE-I-EXISTS Error

Looks bogus. How ancient is the software here? Upgrade to current VMS and patch to current and try again.

From OpenVMS Alpha V8.3 with UPDATE V12.0, and an unmounted disk:

$ cre/dir $1$DKJ100:[scratch]
%CREATE-E-DIRNOTCRE, $1$DKJ100:[SCRATCH] directory file not created
-RMS-E-DNR, device not ready, not mounted, or unavailable
$

Follow the output of a "SET WATCH /CLASS=ALL FILE" sequence to trace the command activity. "SET WATCH /CLASS=NONE FILE" to disable. CMEXEC or CMKRNL is needed.
Robert Atkinson
Respected Contributor

Re: Misleading CREATE-I-EXISTS Error

Same output from VMS 8.3-1H1 Update v7 (Jan 2010), so I'll check the release notes to see if I can find where it got fixed.

Cheers Hoff.

Rob.
Hein van den Heuvel
Honored Contributor

Re: Misleading CREATE-I-EXISTS Error


It reproduces on 'eisner' which is AV8.3 UPDATE V5.0

It reproduces also with a call to LIB$CREATE_DIR.

Any fix/release note would likely only talk about LIBRTL / LIB$CREATE_DIR

In there it was likely a problem introduced with SYMLINKS work.

fwiw,

Hein



Volker Halle
Honored Contributor

Re: Misleading CREATE-I-EXISTS Error

Rob,

FWIW, it works correctly on OpenVMS Alpha E8.4:

PersAlpha E8.4 $ crea/dir CHAALP$DKA0:
%CREATE-E-DIRNOTCRE, CHAALP$DKA0: directory file not created
-RMS-E-DNR, device not ready, not mounted, or unavailable

Volker.
Robert Atkinson
Respected Contributor

Re: Misleading CREATE-I-EXISTS Error

As this is relatively cosmetic, and clearly fixed in newer versions, there's no reason to use any more time up on it. I simply wasn't sure whether it was worth reporting to HP and as it's fixed, obviously not.

Thanks for everyone's comments.

Rob.