| 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 | 
    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.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 2480.1 | BTW: Where is your default directory ? | EDSDS6::WANG | James - DECset Engineering | Wed Apr 16 1997 09:52 | 7 | 
| 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.2 | Here is the result. | PADKOA::COSTEUX | Le Plat Pays qui est le mien... | Wed Apr 16 1997 10:50 | 5 | 
|     It's
    
    "DISK$CMS_RSRP" [exec] = "DKB200:" [concealed,terminal] (LNM$SYSTEM_TABLE)
    
    Jean-Pierre
 | |||||
| 2480.3 | EDSDS6::WANG | James - DECset Engineering | Wed Apr 16 1997 15:34 | 9 | |
| 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.4 | EDSDS6::WANG | James - DECset Engineering | Thu Apr 17 1997 10:54 | 23 | |
| 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.5 | Solved !!! | PADKOA::COSTEUX | Le Plat Pays qui est le mien... | Mon Apr 21 1997 07:50 | 7 | 
|     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.6 | Thanks for notification | EDSDS6::WANG | James - DECset Engineering | Mon Apr 21 1997 09:42 | 1 |