T.R | Title | User | Personal Name | Date | Lines |
---|
643.1 | My openeing excuse is ... | AIMTEC::WICKS_A | The Mancs will NEVER win the lge | Thu May 07 1992 23:35 | 27 |
| 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.2 | Problem is the behaviour of I (ndex) | UTRTSC::SCHOLLAERT | Half Dutch - Half Belgium | Fri May 08 1992 09:56 | 51 |
| 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.3 | Too many years have passed on this | AIMTEC::WICKS_A | The Mancs will NEVER win the lge | Sat May 09 1992 01:51 | 17 |
| 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.4 | Failure to communicate ? (moved from 670.0 by GAP.) | UTRTSC::SCHOLLAERT | Half Dutch - Half Belgium | Tue May 12 1992 12:24 | 72 |
| 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.5 | I can't think why. | AIMTEC::WICKS_A | Liverpool win the F.A Cup again! | Tue May 12 1992 16:55 | 14 |
| 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.6 | We won | UTRTSC::SCHOLLAERT | European Champions 92: Ajax Amsterdam | Thu May 14 1992 12:14 | 10 |
| 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
|