[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

1832.0. "enable to register my entity" by ROM01::LILLI () Wed Nov 20 1991 11:59

Just some clarifications about the registration process. To support the 
registration FM i understand that there must be:

	1. at least one primary name identifier (full name data type)
	
	2. MCC_<classname>_BACKTRANSLATION directory inside the DNS 
	   name space

	3. inside the MSL file for the entity :

		. all reference attribute
		. register directive
		. set directive
		. erase directive
		. rename directive
		. deregister directive
		. directory directive

	4. support for show <classname> entity all iden (entry point in the
	   dispach table)


Now i only get :

	MCC ROUTINE ERROR = % MCC-E-IDENT, Specified identifier
	Attribute is not valid for istance lookup


Any idea ?


Raimondo
T.RTitleUserPersonal
Name
DateLines
1832.1is this working yet?TOOK::CALLANDERMCC = My Constant CompanionWed Jan 08 1992 12:084
    Raimondo, 
    
    have you got this working yet?
    
1832.2Can have ONE AND ONLY ONE Primary IdentifierTOOK::TANEd TanWed Jan 08 1992 13:1836
    First of all, in the SRM V1.1, section 7.5.1.8 Syntax of an Attribute
    and Attribute Partition Definition, the explanation on the use of
    DNS_IDENT says:
    
    "DNS_IDENT The management module must choose one and only one
    identifier to be the DECdns PRIMARY_NAME of the global entity. This
    property may not be used for identifiers of non-global classes.
    
    	..... If the identifier attribute is not to be the DECdns
    PRIMARY_NAME, but is to be a valid identifier used for lookup in the
    DECdns namespace then DNS_IDENT = ALTERNATE_NAME. ......"
    
    
    
    	What this means is for each global entity class, there must be
    ONE AND ONLY ONE primary identifier (DNS_IDENT = PRIMARY_NAME) in the
    MSL file of this class. Other identifiers can be defined for this
    class, and if they are to be used as alternate identifiers for lookup
    in the namespace, DNS_IDENT must be set to ALTERNATE_NAME.
    
    	It looks like in the MSL file for your global entity class,
    you might have more than ONE identifier defined with DNS_IDENT =
    PRIMARY_NAME. So when REGISTRATION FM tries to add this second
    identifier (with DNS_IDENT = PRIMARY_NAME) to the namespace using
    kernel routine mcc_dns_add_identifier, this complains that the
    DNS_IDENT value is wrong and returns the following error,
    
    	MCC-E-INV_DNSIDENT, specified identifier attribute is not valid for
    				instance lookup
    
    
    	Would you verify your MSL to see if this really is the case. If
    not, may be you could post your definition of IDENTIFIER attributes
    from your MSL in here.
    
    /Ed
1832.3It WorksROM01::LILLIWed Jan 08 1992 13:4913
    Hello,
    
    I solved my problem, now my registration directive works. The problem
    was that I did not use the MCC_DNS_OPAQUE_FULLNAME because inside the
    SRM and MM programming is not clear that if you what to use the
    register directive you must use the MCC_DNS_OPAQUE_FULLNAME.
    
    It will be nice if someone could update the MM programming.
    
    Thanks
    
    Raimondo
    
1832.4which Management Module Programming (MMP) are you using?NANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamWed Jan 08 1992 15:5310
RE: .3

>> the SRM and MM programming is not clear that if you what to use the
>> register directive you must use the MCC_DNS_OPAQUE_FULLNAME.
>>
>> It will be nice if someone could update the MM programming.

Raimondo -- Are you using the t1.2.4 version of the MMP manual ?

/keith
1832.5V 1.2ROM01::LILLIThu Jan 09 1992 09:5614
Hello Keith             
    
    I'm using the following manual:
    DECMMC_MM_PROGRAMMING_V1_2_FT.PS;4    7202/7203     5-NOV-1991 
    
    Inside this manual I cannot find any indication about the use of
    MCC_DNS_OPAQUE_FULLNAME. 
    
    Any Idea ?
    
    Thanks
    
    Raimondo
     
1832.6Information about the DNS routines must be added to the MMP RegistrationNANOVX::ROBERTSKeith Roberts - DECmcc Toolkit TeamThu Jan 09 1992 11:1815
RE: .5

>    I'm using the following manual:
>    DECMMC_MM_PROGRAMMING_V1_2_FT.PS;4    7202/7203     5-NOV-1991 
>    
>    Inside this manual I cannot find any indication about the use of
>    MCC_DNS_OPAQUE_FULLNAME. 

Raimondo -- We have a problem here.  There *is* a section in the Management
Module Programming (MMP) guide, Appendix C, but it never talks about using
the DNS routines.  I haven't looked at the SRM yet - but the MMP guide should
go into this bit of detail.  I'll QAR the toolkit

thanks,
keith