| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 4256.1 |  | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Tue Jun 14 1994 08:58 | 14 | 
|  |     It's a very simple program. It refers to PENDING.DAT and PROFILE.DAT,
    both via the OA$DATA logical. It might be worth checking those.
    
    It works like this: It uses the first PROFILE record that has the
    VMSUSR field the same as the calling user (that it gets from $GETJPI)
    and uses the ALL-IN-1 accountname to reference PENDING. Then it's
    supposed to (from reading the code) go onto any other records in
    PROFILE with the same VMS account, and display their counts too.
    
    You might like to look in PROFILE and see what accounts there are with
    the same VMS account as the MANAGER, and look what records there are in
    PENDING.
    
    Graham
 | 
| 4256.2 | Still 30 new mail | STKHLM::LUNDSTEDT |  | Tue Jun 21 1994 09:54 | 29 | 
|  |     
    
    Hello again,
    
    I'm not sure that's the problem.
    
    I just created a new user profile to my own account so I now have two 
    profiles to my single VMS account. One LUNDSTEDT.ANNA and one
    PROFIL.TEST.
    If I send one single mail to each of the two profiles and do Run on 
    OA$LIB:MAILCOUNT I get a message saying that I have 30 new mail.
    
    Nya meddelanden adresserade till LUNDSTEDT.ANNA                 : 30
    Nya meddelanden adresserade till PROFIL.TEST                    : 30
    
    I now read the mail for one user and ran OA$LIB:MAILCOUNT again and 
    got:
    
    Nya meddelanden adresserade till PROFIL.TEST                    : 30
    
    If I have 9 new mail when looking from ALL-IN-1, I still get the same
    message saying that I 30.
    
    Any ideas??
    
    Regards,
    
    Anna 
    
 | 
| 4256.3 | Message file problem? | IOSG::MAURICE | Six Programmers in search of an analyst | Tue Jun 21 1994 11:25 | 18 | 
|  |     Here's a wild guess. Have a look in oa$build:oamess.msg for messages
    SINGLE_NEWMESSU and PLURAL_NEWMESSU. In English they are:
    
SINGLE_NEWMESSU <You have !UL new ALL-IN-1 message for user !AD>/FAO_COUNT=3
PLURAL_NEWMESSU <You have !UL new ALL-IN-1 messages for user !AD>/FAO_COUNT=3
    (The FAO count looks one too many to me!)
    
    Could you find out what they are in Swedish. It looks as if the problem
    could be that in English the order is count followed by name, and
    that's what the program assumes, whereas in Swedish the order is name
    followed by count.
    
    Could it be in Swedish that 30 is hardcoded in the message?
    
    Cheers
    
    Stuart
 | 
| 4256.4 | !AD is weird | IOSG::MARSHALL | A glitch in reality | Tue Jun 21 1994 12:58 | 17 | 
|  | Stuart,
You've inadvertently solved it, I think!
>> The FAO count looks one too many to me!
No, this is correct. !AD directives require two parameters, a string address
and a string length count.
I wonder if in the Swedish translation the FAO substitution goes wrong, so that
the string length is used for the unread mail count?  The string will be an
ALL-IN-1 username, probably space-filled to a length of... 30 characters.
Whether this is a problem with the way the FAO stuff is done in the base code,
or with the Swedish translation, I couldn't say though.
Scott
 |