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

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

437.0. "Console Editor - When are changes updated?" by CSC32::C_TOWNSEND () Mon Oct 17 1994 23:50

Hello -

Although this sounds a little goofy, I can image that other folks may run
into the same problem.  I had a Windows Console Editor up, however
circumstances indicated I should make my configuration change in the
character-cell editor.  The Windows editor remained up even after I had
issued the Reconfigure from DCL.  

The problem is that the Windows editor never saw the change until I ran
both the C3 and the Windows editor down, and restarted them both.  I even
tried doing a SAVE to see if it would catch the change, but the restart was
required.  I would have expected a RECONFIGURE to update all editor
interfaces.  Customers could also run into the problem if they were away
from their workstation editor and have to make a change in character-cell
at a different location, then return to their desk to be confused as to
whether the change was being honored by PCM.  

Should I expect to see the same data from several editors after having
exited one and reconfigured?

Thanks in advance,
Connie

T.RTitleUserPersonal
Name
DateLines
437.1A little understandingOPG::DAVEBTue Oct 18 1994 12:0818
    Connie,
    
        Perhaps a little tip as to how the editor(s) work will help you.
    When the editors start, all the data is read into memory. If you add,
    modify, or delete a record, no update to the file is done, only to the 
    in-memory data structures. The changes only become relevent when you do
    a 'save' or exit. So, if you have two people editing the file at once,
    then there is the possibiliity that one person's edit will over-write
    the others.
    
    You said that you did a write and then a reconfigure. That should have
    worked.
    
    We're in the process of defining tasks for the next release. We'll
    have a look and see what we can do.
    
    Dave
    
437.2Reflections ...CSC32::C_TOWNSENDTue Oct 18 1994 19:4324
Hey Dave -

Thanks for the reply.  As usual, I do have a concern and a request.

>> there is the possibiliity that one person's edit will over-write
>> the others.

Opinion:  That could really get confusing, so I recommend having the
initial editor session as writeable but subsequent editors read-only.  
This was manageable with VCS, and the following message is received if
there is already someone in the editor.

"%VCS-W-OPENREAD, Configuration file locked by another user, opened
    read only
 %RMS-E-FLK, file currently locked by another user"

>> you did a write and then a reconfigure.  That should have worked.

Actually, it didn't change the values in the Windows editor when I
exited the character-cell and RECONFIG'd.  In any case, thanks for 
considering my suggestions.

Take care,
Connie
437.3ZENDIA::DBIGELOWInnovate, Integrate, EvaporateWed Oct 19 1994 12:146
    Connie,
    
       Instead of stating the the file is 'locked by another user', we are
    hoping to say 'locked by user Sue Whoever'.
    
    Dave