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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1371.0. ""Problems with CM "" by BODRUM::YEGEN () Mon Sep 07 1992 14:43

    I would be grateful if somebody can answer the following two question :
    
    1. From CM menu I can not edit a FORM due to the message "Element is being
     edited by MANAGER". I am in the MANAGER's account, the status of the
    element is "Being edited". How can I change the status to "Locked" or
    "Free" 
    
    2. If I work from my own account and try to edit a form and finish
    editing it a mesage is displayed like the following "DEVELOP.FLB is
    permanently locked by manager". In the company, I only have access to 
    CM from both MANAGER's and my account. How can I unlock DEVELOP.FLB.
    
    Best regards and thank you,
    
    Tansu YEGEN @TWI
     
T.RTitleUserPersonal
Name
DateLines
1371.1The solution, I hope ...UTRTSC::SMEETSIt's a long way to the southMon Sep 07 1992 15:2520
    Hi Tansu,
    
    re 1.
    select in CM the element of which the status is "Element is being
    edited by MANAGER"
    
    Type: <WRITE CHANGE CM$SITELOG %KEY = $CM_KEY,LOCK_STATUS="Free"
          <WRITE CHANGE CM$SITELOG %KEY = $CM_KEY,LOCK_FLAG="0"
          <DUMP_CACHE
    
    re 2.
    
    Select form CM$FORM$LIBS and press FIND. Look if there's an entry for
    DEVELOP.FLB with a lock flag which is not equal to 0. If so, change the
    entry and make the lock flag 0.
    
    Succes,
    
    Martin Smeets
    Digital Holland.
1371.2'Being edited' & OA$USER = QuestionCESARE::EIJSAll in 1 PieceMon Sep 07 1992 15:2846
    
    Hi Tansu,
    
    Re 1)
    
    If an element is in status 'Being edited' and you are the 'Last User',
    CM will inform you who is editing the form BUT also asks you the
    question if you want to continue. 
    
    E.g.:
    
    +-----------------------------------------------------------------+  
    |   EDIT operation                                                | 
    |                                                                 |   
    |   Note: Element is being edited by MANAGER                      |      
    |                                                                 |       
    |                                                                 |       
    |                                                                 |        
    |   Do you want to continue? [Y/N]                                |       
    +-----------------------------------------------------------------+
    
    Weren't you asked the question? 
    
    You won't be asked if you were another user than the user last editing
    this element.
    
    Re 2).
    
    If you know for sure you are the only one using the form library,
    perform:
    
    	SM CSZ LFL MFL
    
    Modify the record in that the 'Last user' eqs "" and 'Lock flag' eq
    "0".
    
    Also check why this might have happened. However, the only reason from
    the top of my head is a sudden death of ALL-IN-1 in the middle of
    replacing a form in a form library (that would also explain the status
    of the element 'Being edited').
    
    Ciao,
    
    	Simon
    
    
1371.3ANd I forgot...CESARE::EIJSAll in 1 PieceMon Sep 07 1992 15:3523
    
    Oeps,
    
    You should modify record OA$SITE_DEV_<appl area>:DEVELOP.FLB. 
    
    Another thing to check is if you can get a lock on record:
    
    	LOCK_OA$SITE_DEV_<appl area>:DEVELOP.FLB
    
    via:
    
    	DATA_FILE OPEN/READ/WRITE CM$LOCK CM$FORM$LIBS
    	DATA_FILE LOCK/ON CM$LOCK
        DATA_FILE GET CM$LOCK "<record>" \GET #STATUS = OA$STATUS
    	DATA_FILE CLOSE CM$LOCK
        GET #STATUS
    
    The value of #STATUS should be 1.
    
    Ciao,
    
    	Simon
    
1371.4And the Dutch clashed...CESARE::EIJSAll in 1 PieceMon Sep 07 1992 15:471
    
1371.5BODRUM::YEGENMon Sep 07 1992 15:5615
    Lots of thanks,
    
    .2 I got being edited after a failure in the form where ALL-IN-1 gave
    a stack dump and the status was changed to Being edited.
    
    .2 It did not prompted "DO you want to continue? ". We are currently
    using version 2.43, might this be the reason?
    
    The problem with DEVELOP.FLB lasts but I did not try reply 3 yet,
    because SM CSZ LFL MFL was showing user as MANAGER and status as 0.
    
    
    Best regards,
    
    Tansu YEGEN
1371.6Again, oeps, V3.0CESARE::EIJSAll in 1 PieceMon Sep 07 1992 16:3917
    
    Tansu,
    
    Yep, I was too quick and already in V3.0. In V2.3/V2.4 you're not
    asked to continue. So reply .1 is the one to follow.
    
    Concerning the locking, and if this is V2.4, check if CM_LOCK_LIB.SCP
    contains the following line:
    
    	DATA_FILE LOCK/ON CM$LOCK
    
    If you find the line, but the 'CM$LOCK' isn't there, modify the Script,
    Move it to live and try again.
    
    Ciao,
    
    	Simon