[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

296.0. "Using the Subscriber DSAB to access DDS entry" by ZPOVC::SEOWHURN () Mon Mar 23 1992 09:30

    Hi,
    
    I'm encountering some problems trying to access the local DDS database
    using the SUBSCRIBER DSAB (as used in the SMD option of DIR).
    
    Firstly, for some reason (probably on purpose), it's not possible to
    search by the field USERIDI. ie 
    
    	for first subscriber with .useridi = "xxx" do ...
    
    fails.
    
    But "for first subscriber with .surname1 = "xxx" do get .useridi"
    works.
    
    Is this normal ??
    
    Also, as I have the EMS software installed on the same system. DDS
    entries that are registered via the EMS's registrar will have a "Title"
    field that doesn't seem to correspond to the same title as using DIR
    SMD search results. 
    
    I know that the DIR SMD gets the value of title from the field
    .POSNROLE but where does the EMS registrar store the title ??
    Incidentally, if I use MC MBMAN to select the entry the title field
    shown there is the same as the EMS registrar's resulting search.
    
    HELP !!! What is the name of the field that stores the title ?
    (according to SUBSCRIBER DSAB there is no such field name called
    title). I'm trying to set up for a demo tomorrow and found that I still
    cannot retrieve the value stored by the EMS Registrar !
    
    
    Thanks for any replies
    
    Seow-Hurn
T.RTitleUserPersonal
Name
DateLines
296.1One answerIOSG::SHOVEDave Shove -- REO-D/3CMon Mar 23 1992 13:149
    The SUBSCRIBER dataset is a little unusual, as you've discovered.
    
    You can't search on any field which isn't one of what DDS calls an
    "action attribute". 
    
    As to your other question, I can't help as I don't know what the "EMS
    Registrar" is. Sorry.
    
    Dave.
296.2And in MBMAN it's called?AIMTEC::WICKS_AVote Bill'n'Opus for a weirder USAMon Mar 23 1992 15:0612
    Well if Dave doesn't know what an EMS registrar is then i'm sure I
    don't.
    
    If you told us what the field is called in MBMAN we should be able to
    work out what the ALL-IN-1 equivalent is.
    
    As always Dave was right about the action attributes...
    
    REgards,
    
    Andrew.D.Wicks
                  
296.3It's called TITLE in MBMANZPOVC::SEOWHURNTue Mar 24 1992 00:4510
    RE:-1
    
    The field name in MBMAN is called "TITLE". ALL-IN-1 seems to save the
    value of the user's title (from profil) to the field called "POSNROLE"
    instead. 
    
    Does the DSAB Subscriber reference "TITLE" at all ? (I've tried title,
    title1 etc to no avail...)
    
    SH
296.4That was one of the three left outAIMTEC::WICKS_AVote Bill'n'Opus for a weirder USATue Mar 24 1992 02:1216
    Nope that one is not in the DSAB.
    
    There was a lot of confusion between TITLE and POSNROLE and also
    between INTLOCATION and MAILSTOP and the ALL-IN-1 Architect told
    us just to put one of each in.
    
    So you got POSNROLE and MAILSTOP
    
    LANGUAGE is the only other field I remember not implementing and that
    because we had to originally ship on MR v3.0 which didn't know the
    field.
    
    Sorry,
    
    Andrew.D.Wicks 
                  
296.5thanksZPOVC::SEOWHURNThu Mar 26 1992 10:253
    RE: all replies
    
    Thanks.
296.6Adding MHS address other than 1?BREAKR::MIKKELSONKill me. I need the money.Thu Jul 23 1992 20:5614
    
    Is it possible to set the MHS (address part/mailbox/user ident) fields
    in DDS via the SUBSCRIBER DSAB for an MHS/VMS address number other than
    1?  I don't see anything in the SUBSCRIBER_ADD.SCP that sets the values
    for address number 1, so I assume that's done automagically somehow. 
    People here at the customer site have made stabs at modifying the script to
    set address number 2 to contain a VMS (MRGATE) address, but I'm not
    sure that it's even possible.  Is it possible, and what would the
    syntax be.
    
    Thanks,
    
    - David
    
296.7Unfinished businessAIMTEC::WICKS_ADEC Mail Works for ME sometimesThu Jul 23 1992 21:2313
    David,
    
    No it's not possible even in v3.0 - the work necessary to support 
    multi-occurrence fields (such as MHS/VMS ORaddress) was never completed 
    when ALL-IN-1 v2.3 shipped.
    
    The DSAB itself has the code in it to navigate such fields but they
    were never made visible at the API level.
    
    Regards,
    
    Andrew.D.Wicks
    
296.8Length of MAILBOX field?BREAKR::MIKKELSONKill me. I need the money.Wed Jul 29 1992 00:148
    
    I'm having some trouble trying to update users' DDS entries via the
    SUBSCRIBER DSAB.  It appears that even though the DDS database itself
    will accommodate more characters, the MAILBOX field in the SUBSCRIBER
    DSAB has a limit of 24 characters.  Is this correct?
    
    - David
    
296.9Vid and I are innocent (On this)AIMTEC::WICKS_ADEC Mail Works for ME sometimesWed Jul 29 1992 00:188
    David,
    
    MAILBOX is defined as 24 characters by the DDS Callable Interface
    see page 70 of the Implementors Guide.
    
    Regards,
    
    Andrew.D.Wicks
296.10Local records from master node?BREAKR::MIKKELSONKill me. I need the money.Tue Aug 04 1992 19:3419
    
    Our node is the master node as well as the world search node for our
    network.  There are times when I want to go through all the DDS entries
    owned by our node to check various things.  Is there a way to bind to
    the SUBSCRIBER DSAB such that I can process only the records from our
    node?  It appears that because we're the master/world search node,
    OA$DDS_SEARCH_SCOPE isn't going to make any difference -- I'm going to
    get *all* the records in the DDS database no matter what.  It also
    doesn't appear that MTANODE1 is an actionable field, so I can't bind to
    all the records with .MTANODE1 = our_node_name.  Are there any 
    possibilities?
    
    Also, where is there currently a list of the actionable fields for
    SUBSCRIBER?  I couldn't seem to find one by following up old notes, nor
    could I locate a copy of David Hare's guide (I have an old copy, but
    some co-workers would like a copy as well).
    
    - David