[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

3323.0. "Message accessed by another user" by THESUN::OTHENJ () Fri Sep 24 1993 15:49

Hello,

ALL-IN-1 v3.0-1

If USERA has access to USERB main drawer, and USERA selects a document in the 
CREATED folder and has this document selected in the current item block, 
and then USERB tries to send this same document they receive the error

    Message currently being accessed by another user

GOLD/W reveals :-
%EMD-W-MESLOCKED, Message currently being accessed by another user
         
USERA must select another document before the lock can be freed so that the 
other user can send the document.

This makes sense to me as the error is displayed from the MAIL SEND code as 
the document has already been locked by another user.

This is a major problem for the user as they use EARS, and an EARS Review 
Item is corrupted because all of the EARS processing is performed before the 
"MAIL SEND", and then the send fails.

Therefore, is there a way that they can check for this situation before the 
EARS processing to check if a document is 'in use' which is not embedded in 
code as is the case in MAIL SEND?

	Thanks,

		Julie                                                            
 
    
T.RTitleUserPersonal
Name
DateLines
3323.1KERNEL::OTHENJFri Oct 01 1993 13:515
    Can anyone please help me out on this one?
    
    	Thanks,
    
    		Julie
3323.2IOSG::MAURICEDifferently hirsuteFri Oct 01 1993 14:2712
    Hi,
    
    All I can think of is to try something like
    
    cab lock "EXCLUSIVE"
    .if oa$status ne 1 then .goto document_locked_label
    
    The document being tested must be the current document.
    
    Cheers
    
    Stuart