[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2605.0. "OIDs and Dictionary retrieval" by SYSMGT::DUTKO (Nestor, VMS Engineering) Fri Mar 20 1992 15:31

    ECO 42 provides for the specification of object ids on classes, etc.
    
    To retrieve information from the mcc dictionary, CI pairs (stored in an
    AES handles) are used in conjunction with the MCC_DICT_xx routines.
    What is the mechanism for retrieving dictionary information if only the
    OID is known?
    
    Conversely, if the CI pair is known, how is the OID specified in the
    MSL retrieved from the dictionary? Is it additional definition data?
    
    -- Nestor
T.RTitleUserPersonal
Name
DateLines
2605.1Not able to retrieve by OID -- yet...DFLAT::PLOUFFEJerryMon Mar 23 1992 09:0125
Nestor:

  > What is the mechanism for retrieving dictionary information if only the
  > OID is known?

  The dictionary is not currently set up to retrieve objects by OID.  Only
  CI pairs are accepted at this time.  OID keyed retrieval is a high priority
  future.  We're looking at something called the Common Agent MIR to help us
  in this area in the future.

  > Conversely, if the CI pair is known, how is the OID specified in the
  > MSL retrieved from the dictionary? Is it additional definition data?

  You got it.  There are four new definitions in the dictionary for this
  information.  The constants (found in mcc_interface_def.h) for these
  definitions are:

    MCC_K_DD_OID
    MCC_K_DD_SNMP_OID
    MCC_K_DD_DNA_CMIP_INT
    MCC_K_DD_OSI_CMIP_OID

  Hope this helps...

                                                                    - Jerry
2605.2TOOK::STRUTTManagement - the one word oxymoronTue Mar 24 1992 17:0210
    Part of one draft of the ECO included information (sort of an algorithm
    description) about how a module (eg. AM) could read the appropriate
    class definitions to construct an in-memory table mapping OIDs to
    codes.  We sort of figured this was a fairly obvious algorithm, and
    anyway it might be better in the toolkit documentation than the SRM.
    
    None-the-less you might still consider such an approach, until we
    implement, as .1 pointed out, dictionary lookup based on OID.
    
    Colin