[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

643.0. "I = SMD after SOM" by UTRTSC::SCHOLLAERT (Half Dutch - Half Belgium) Thu May 07 1992 12:17

         Hello,

         Customer complaints that ALL-IN-1 is not
         consistent in the Index part of the Mail Directory
         Search.

         When you create a mail, press GOLD menu and
         do a World Search (SOM), you end up in the

                         Index of Mail Directory.

         Using the I for Index, like in the rest of ALL-IN-1
         will result in a Local Search (SMD-like).
         Customer expects that the Search is World again. Sounds
         fair.

         The named data of Index (OA$_MO_INDEX) 
         always sets OA$DDS_SEARCH_SCOPE to 0.

         Is there a specific reason for this implementation ?

         Wouldn't it be better to set OA$DDS_SEARCH_SCOPE in the
         SMD and SOM part of the named data, so it will be the
         default for Index ?

         An(d)y comments ?

         Regards,

         Jan
           

T.RTitleUserPersonal
Name
DateLines
643.1My openeing excuse is ...AIMTEC::WICKS_AThe Mancs will NEVER win the lgeThu May 07 1992 23:3527
    Jan,
    
    Like the signoff comment in the base note but I prefer to be called
    Andrew!
    
    The logic as I remember it ... and some of it is almost 5 years old
    already is this:
    
    If user is on a non-WSnode AND doing SMD then OA$DDS_SEARCH_SCOPE = 0
    If user is on a non-WSnode and doing SOM then OA$DDS_SEARCH_SCOPE = 1
    
    If user is on a WSnode AND doing SMD then OA$DDS_SEARCH_SCOPE = 0
    If user is on a WSnode and doing SOM then OA$DDS_SEARCH_SCOPE = 0
    
    Is it this last behaviour that your user is seeing because if they are
    on a World Serach node then you have to set this flag to 0 or else
    DDS will happily go looking for another WS node somewhere else
    in the network even though you have everyone on your local node and
    were able to find ALL of them using SMD.
    
    If this isn't a good enough 'excuse' then let me know and i'll ring
    Vid in North Carolina and ask him!!!
    
    Regards,
                       
    Andrew.D.Wicks
    
643.2Problem is the behaviour of I (ndex)UTRTSC::SCHOLLAERTHalf Dutch - Half BelgiumFri May 08 1992 09:5651
    Andrew,
    
    Thanks for the explanation. I haven't been to clear in .0.
    
    Local DDS node. Create Mail. Gold M.
    
    SOM schollaert... World Search finds me. Fine so far.
    
    The problem occurs when you use I for Index AFTER this
    first lookup. So when your on index form DDS$INDEX. Now
    a local search is performed and thats inconsistant to
    the users who expect that I for Index repeats previous 
    functions.
    
    Named data looks like
    
    SMD :   xop Index
    
    SOM :   get oa$dds_search_scope = 1
            xop Index
            get oa$dds_search_scope = 0
    
    Index:  do the dds search
            get oa$dds_search_scope = 0
    
    So Index after SOM means local search.
    =======================================================
    I suggested:
    
    SMD :   get oa$dds_search_scope = 0
            xop Index
    
    SOM :   get oa$dds_search_scope = 1
            xop Index
    
    Index:  do the dds search
    
    Now Index defaults to you initial search type.
    
    ===============================================================
    
    I am not sure what the reason behind the original implementation is.
    I noticed that the named data contains OA$_MO_INDEX, but the
    arg form with the options is missing the I for Index. 
    
    Because I do not fully understand the why behind this,
    I am afraid to modify this on the customer side...
    
    Regards,
    
    Jan
643.3Too many years have passed on thisAIMTEC::WICKS_AThe Mancs will NEVER win the lgeSat May 09 1992 01:5117
    Jan,
    
    This must be v2.3 right?
    
    I don't have a system before v2.4 anymore and on
    both the v2.4 and v3.0 system I have the named data for DDS$INDEX
    doesn't look anything like what you posted.
    
    I can't even make up a good excuse about this because I don't even
    remember writing this form but unfortunately I can't check CMS anymore
    to prove my innocence... and Vid has his answering machine on.
    
    Sorry it's too long ago...
    
    Regards,
    
    Andrew.D.Wicks
643.4Failure to communicate ? (moved from 670.0 by GAP.)UTRTSC::SCHOLLAERTHalf Dutch - Half BelgiumTue May 12 1992 12:2472
      Hello Andrew,

      "What we have here is failure to communicate" (Guns and Roses '91)

      Sorry to be so unclear. My mind is already with the Cupfinal
      Ajax-Torino....

      These are the parts of DDS$INDEX (from 3.0) I was referring to.

      Regards,

      Jan 


;;OA$_MO_INDEX;;

 GET #NUM = "0"\
 FORM DDS$INDEX$FIND\
 IFEXIT\
 CLOSE_PRIOR\
 OA$FLD_STAY\
 OA$SCL_EXIT\
 BIND_BREAK *DDS\
 XOP "~~BIND~~" \
 OA$SCL_INIT,,,*DDS\
 GET OA$DDS_SEARCH_SCOPE = "0"             <--- always local search 
                                                when I for Index is
                                                used after SOM

;;OA$_MO_SEARCH_MAIL_DIR;;

GET #DDS_WORLD_DONE = "0"\
XOP OA$_MO_INDEX

;;OA$_MO_SEARCH_OTHER_MAIL_DIR;;

IF OA$DDS_NODE_TYPE == "1"
 THEN GET OA$DISPLAY = OA$_EMDDSNOOTHDIR
 ELSE XOP "~~WORLD_SEARCH~~"

;;~~WORLD_SEARCH~~;;

.IF #DDS_WORLD_DONE = "1" THEN XOP "~~NEW_WORLD_SEARCH~~"
  ELSE XOP "~~CONT_WORLD_SEARCH~~"\
GET OA$DDS_SEARCH_SCOPE = "0"             <--- allways local search 

;;~~CONT_WORLD_SEARCH~~;;

GET OA$DDS_SEARCH_SCOPE = "1"\
OA$SCL_EXIT\
BIND_BREAK *DDS\
IF #EMDADDRESS == "" THEN XOP "~~BIND~~"
 ELSE BIND/SORT_KEY = #EMMDSORT *DDS TO SUBSCRIBER WITH .%KEY = #EMDADDRESS\
OA$SCL_INIT,,,*DDS\
GET #DDS_WORLD_DONE = "1"\
DISPLAY \FORCE

;;~~NEW_WORLD_SEARCH~~;;

IF #EMDADDRESS  NES  "" THEN GET #EMDADDRESS = ""\ 
GET #NUM = "0"\
GET OA$DDS_SEARCH_SCOPE = "1"\
FORM DDS$INDEX$FIND\
IFEXIT\
CLOSE_PRIOR\
OA$FLD_STAY\
OA$SCL_EXIT\
BIND_BREAK *DDS\
XOP "~~BIND~~"\
OA$SCL_INIT,,,*DDS\
DISPLAY \FORCE

643.5I can't think why.AIMTEC::WICKS_ALiverpool win the F.A Cup again!Tue May 12 1992 16:5514
    Jan,
    
    Sorry I honestly don't know what that named data does or why it does it
    as it appears to have been done by another ex-DDS developer other than
    me when escalated searches were added and he doesn't follow this 
    conference anymore ... sorry.
    
    I guess this conference is going to get lively if Ajax win what with
    both you and Simon having admitted to being Ajax Supporters!
    (p.S see new notes personal name!)
    
    Regards,
    
    Andrew.D.Wicks
643.6We wonUTRTSC::SCHOLLAERTEuropean Champions 92: Ajax AmsterdamThu May 14 1992 12:1410
    Andrew,
    
    We won. No local or world searches for this week. Just may-bok beer
    and Trappist.
    
    I will let the cusomer test with a mofified version of the forms.
    I will post the results overhere.
    
    Thanks,
    Jan