[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clt::cms

Title:DEC Code Management System
Notice:Current version: V3.8-2 (see Note 3.2)
Moderator:EDSDS6::TOWNSEND
Created:Mon Feb 03 1986
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2491
Total number of notes:9373

2480.0. "CMS-E-ALRDYEXISTS error... (CMS-V3.8-2)" by PADKOA::COSTEUX (Le Plat Pays qui est le mien...) Wed Apr 16 1997 10:13

    Here is problem stated by a customer while trying to modify an element:
    
OpenVMS Alpha V6.2
CMS 3.8-2

$ cms show elem 

Elements in CMS Library DISK$CMS_RSRP:[CMS_RSRP.RSRP_COM]

MH.1          ""
$ cms sh lib/full 
Your CMS library list consists of:

DISK$CMS_RSRP:[CMS_RSRP.RSRP_COM]
    and contains

          1 element
          0 groups
          0 classes
          0 reservations
          0 concurrent replacements
          0 reviews pending

    REFERENCE_COPY directory is DKB200:[RSRPDEV.MOS20.COM]

    File revision time:  original
$ cms sh elem/full 

Elements in CMS Library DISK$CMS_RSRP:[CMS_RSRP.RSRP_COM]

MH.1          ""
                  /Concurrent
                  /NoReference_Copy
                  /NoReview
                  /NoHistory
                  /NoNotes
                  
$ cms mod elem mh.1/ref 
 )0 [4l
 =
 _Remark:  
%CMS-E-NOMODIFY, error modifying element DISK$CMS_RSRP:[CMS_RSRP.RSRP_COM]MH.1
-CMS-E-ALRDYEXISTS, DKB200:[RSRPDEV.MOS20.COM] is already a reference copy name
 >
$
    => comment: ... no file named MH.1 exist in the default directory ...
    
$ create DKB200:[RSRPDEV.MOS20.COM]toto.toto 
 
$ dire   DKB200:[RSRPDEV.MOS20.COM]toto.toto 

Directory DKB200:[RSRPDEV.MOS20.COM]

TOTO.TOTO;1         

Total of 1 file.
$ cms create element toto.toto/noref 
 _Remark:  
%CMS-S-CREATED, element DISK$CMS_RSRP:[CMS_RSRP.RSRP_COM]TOTO.TOTO created
 >
$ cms mod elem toto.toto /ref 
 _Remark:  
%CMS-E-NOMODIFY, error modifying element DISK$CMS_RSRP:[CMS_RSRP.RSRP_COM]TOTO.T
OTO
-CMS-E-ALRDYEXISTS, DKB200:[RSRPDEV.MOS20.COM] is already a reference copy name
 >


... If I modify the reference directory to be DKB200:[RSR.MOS20.COM_toto] then
I've no problem.

    
    Any idea ?
    
    Jean-Pierre
T.RTitleUserPersonal
Name
DateLines
2480.1BTW: Where is your default directory ?EDSDS6::WANGJames - DECset EngineeringWed Apr 16 1997 13:527
Hi Jean-Pierre,

I can't reproduce the problem here but I won't give up. Could you translate 
the following logical name for me:
	DISK$CMS_RSRP:[CMS_RSRP.RSRP_COM]

-James
2480.2Here is the result.PADKOA::COSTEUXLe Plat Pays qui est le mien...Wed Apr 16 1997 14:505
    It's
    
    "DISK$CMS_RSRP" [exec] = "DKB200:" [concealed,terminal] (LNM$SYSTEM_TABLE)
    
    Jean-Pierre
2480.3EDSDS6::WANGJames - DECset EngineeringWed Apr 16 1997 19:349
Hi Jean-Pierre,

Thanks for the update,

Unfortunately, I still can't reproduce this behavior and I'm stumped. 

Did you try CMS VERIFY/REPAIR ? 

-James
2480.4EDSDS6::WANGJames - DECset EngineeringThu Apr 17 1997 14:5423
Hi Jean-Pierre,

Would you please try the following steps:

Assume you are sitting in your reference directory,

	$ SHOW DEFAULT     
        $ CREATE test.test
           This is test
        ^Z
        $ CMS CREATE ELEMENT test.test/NOREF
        $ DIR
        $ CMS MODIFY ELEMENT test.test/REF

BTW: 
->.. If I modify the reference directory to be DKB200:[RSR.MOS20.COM_toto] then
->I've no problem.

This works because your default directory is no longer your reference directory.

Thanks,

-James
2480.5Solved !!!PADKOA::COSTEUXLe Plat Pays qui est le mien...Mon Apr 21 1997 11:507
    The problem occured because in the reference directory there was a file
    named  .;1    .... The problem went out by deleting this file !!
    
    Hope this helps other users in the future !!
    
    Jean-Pierre
    
2480.6Thanks for notificationEDSDS6::WANGJames - DECset EngineeringMon Apr 21 1997 13:421