[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

1702.0. "How to know the enrolled AMs ?" by ANNECY::BONNIER (Jean-Luc ... EIC/T&N Annecy France) Thu Oct 24 1991 05:25

We are running DECmcc V1.1 on VMS 5.4 systems
and developing a reporting platform on the top of DECmcc.

We need to know at any given time what are the AMs ACTUALLY ENROLLED.

I thought that the best would be to look into some internal DECmcc table
or logical names.

Of course we can 
$ MANAGE/ENTERPRISE
MCC> show
  Type ? for a list of valid entities
Entity: ?
NODE
MCC
DOMAIN
BRIDGE
STATION
NODE4
SAMPLE

But we prefer to get this info from a C-written application and not from FCL.

Thanks for your help.
Jean-Luc
T.RTitleUserPersonal
Name
DateLines
1702.1mcc_dict and mcc_call_accessTOOK::MCPHERSONi'm only 5 foot one...Thu Oct 24 1991 11:3729
re .0

This is not an answer to your question, but doing the SHOW <?> fromn FCL will
only show you the global entities that the *parse* table knows about.  Their
respective MMs may or may not be _enrolled_.

You need to check 3 things: 
        1. are the MMs in the dictionary ?  
        2. does the parse table know about the MMs? 
        3. is the MM actually _enrolled_ ?  

You can check items 1 and 3 fairly simply from a program, but I don't know how
you'd do item 2.  For item 1, use the mcc_dict routines (See SRM)  to enumerate
child entities of the class MCC. Then for item 3, use mcc_call_access() to show
teh characteristics of each MM you have just pulled out of the dictionary. 
Since the MOM component of each AM should respond (if enrolled) you will get a
successful reply from all *enrolled* MMs and an "invalid V-E-P" if the MM is
NOT enrolled.

As to checking the Parse Tables.... You need to ask Jill about that.  The parse
tables are in a private-format binary file, and there is no programmatic access
to it (that I know of).

helpful? 

/doug



1702.2use dictionary MCC entry to find xM'sTOOK::CALLANDERMCC = My Constant CompanionThu Nov 21 1991 13:1426
    
    Right Doug, the format of the parse tables is known to PTB and the
    PML (presentation management library) at this point in time; though
    who knows what the future will bring.
    
    If you are on a cleanly installed system, if the class is in the
    dictionary then the parse table knows of them.
    
    Now as to show...
    
    What you want to do is go into the dictionary and look up the
    child entities under the MCC entity. All management modules are
    required to enter what we call a MOM interface (management of
    management) for their module; this is dictated by the SRM. This means
    that they must enter the xM into the dictionary as a child of the
    MCC entity.
    
    Go to the dictionary using a wildcard an lookup using a dictionary
    entity spec of:
    
    		class mcc
    		subclass *
    
    This will get you what you need.