[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

4756.0. ""show choices" pop-up in AM DVP" by TAVIS::ORNA () Wed Mar 24 1993 10:53

    What should be written in the code of the AM in 
    order to provide the "show choices" possibility
    in the pop-up menu in the IM?
    
    Thanks,
    Orna.
    
T.RTitleUserPersonal
Name
DateLines
4756.1ENUMERATED types defined in MSLMCDOUG::dougpre-retinal integrationWed Mar 24 1993 11:238
>    What should be written in the code of the AM in 
>    order to provide the "show choices" possibility
>    in the pop-up menu in the IM?

"Show Choices" means that the attribute data type was defined as an
ENUMERATION.   This definition is done in the MSL.

/doug
4756.2We did so, but..TAVIS::ORNAThu Mar 25 1993 07:528
    Yes, we did so, but we did not get the "show choices" or
    "expansion", but if we type an uncorrect choice, we get
    an error message.
    Is there anything else missing?
    
    Thanks,
    Orna.
    
4756.3If you'll supply a little context...MCDOUG::dougpre-retinal integrationThu Mar 25 1993 10:3311
>    Yes, we did so, but we did not get the "show choices" or
>    "expansion", but if we type an uncorrect choice, we get
>    an error message.
>    Is there anything else missing?

Unfortunately, you are guilty until proven innocent... ;^)
So, can you post here
        1. the portion of your MSL where you define your enumerations
        2. the exact text of the error message you get.

/doug
4756.4MSL & error messageTAVIS::ORNAWed Mar 31 1993 08:30479
Hi, 
    
    
The error message we get is: "no corresponding entity instance exists".

We ran the program with the "debuger" and there are no print out to send.


this is the msl file where the type is defined
----------------------------------------------

MANAGEMENT SPECIFICATION MCC_EXCHANGE_AM ;
    VERSION = T1.0.1;
    SYMBOL-PREFIX = MCC_;

     TYPE
       ExchangeState = 3006 (
         Fault             = 0,
         Operation         = 1
         );

    TYPE                                   --- THATS THE TYPE ----
       ExchangeKind = 3007 (
         SYS12         = 0,
         TMX           = 1
         );

    TYPE
       ModuleType = 3008 (
         N7-SACE       = 0,
         CCSM          = 1
         );
(*  ---------------------------------------------------------------------
 *  Begin Global Entity EXCHANGE definition
 *)

	GLOBAL ENTITY Exchange = 130 :
	IDENTIFIER = (Name),
	SYMBOL = CLASS_EXCHANGE,

        (* Identifier Attributes *)

        IDENTIFIER ATTRIBUTES
        ATTRIBUTE Name = 1 : FullName
           DNS_IDENT = PRIMARY_NAME,
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = EXCHANGE_NAME
        END ATTRIBUTE Name;

        END ATTRIBUTES; (* IDENTIFIER *)

        (* Status Attributes *)

        STATUS ATTRIBUTES
        ATTRIBUTE Status = 2 : ExchangeState
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = EXCHANGE_STATE
        END ATTRIBUTE Status;

        END ATTRIBUTES; (* STATUS *)


    EVENT PARTITION CONFIGURATION EVENTS = 15 :
        INCLUDE mcc_exchange_events.ms;
    END EVENT PARTITION CONFIGURATION EVENTS;

    INCLUDE mcc_exchange_reference.ms ;
    INCLUDE mcc_register_directive.ms ;
    INCLUDE mcc_directory_directive.ms ;
    INCLUDE mcc_deregister_directive.ms ;
    INCLUDE mcc_delete_directive.ms ;
    INCLUDE mcc_set_directive.ms ;
    INCLUDE mcc_show_directive.ms ;
    INCLUDE mcc_getevent_directive.ms ;

(*
 *  End DIRECTIVE definitions for Global Entity:  Exchange
 *)

(*  ---------------------------------------------------------------------
 *  Child Entity: Linkset
 *)

     (* Begin Child Entity Linkset definitions.  *)

        CHILD ENTITY LINKSET = 1 :
           IDENTIFIER = ( LINKSET_Name ),
           DYNAMIC = TRUE,
           SYMBOL = CLASS_LINKSET,

        (* Identifier Attributes *)

        IDENTIFIER ATTRIBUTES

        ATTRIBUTE LINKSET_Name = 1 : Latin1String
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINKSET_NAME
        END ATTRIBUTE LINKSET_Name; 

        END ATTRIBUTES; (* IDENTIFIER *)

        (* Status Attributes *)

        STATUS ATTRIBUTES
        ATTRIBUTE LINKSET_Status = 2 : ExchangeState
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINKSET_STATE
        END ATTRIBUTE LINKSET_Status;

        END ATTRIBUTES; (* STATUS *)

(*    EVENT PARTITION CONFIGURATION EVENTS = 15 :
        INCLUDE mcc_linkset_events.ms;
    END EVENT PARTITION CONFIGURATION EVENTS;
*)

    INCLUDE mcc_linkset_reference.ms ;
    INCLUDE mcc_create_directive.ms ;
    INCLUDE mcc_register_directive.ms ;
    INCLUDE mcc_directory_directive.ms ;
    INCLUDE mcc_deregister_directive.ms ;
    INCLUDE mcc_delete_directive.ms ;
    INCLUDE mcc_set_directive.ms ;
    INCLUDE mcc_show_directive.ms ;
    INCLUDE mcc_getevent_directive.ms ;

(*  ---------------------------------------------------------------------
 *  Child Entity: LINK
*)

     (* Begin Child Entity LINK definitions.  *)

        CHILD ENTITY LINK = 5 :
           IDENTIFIER = ( LINK_Name ),
           DYNAMIC = TRUE, 
           SYMBOL = CLASS_LINK,

        (* Identifier Attributes *)

        IDENTIFIER ATTRIBUTES

        ATTRIBUTE LINK_Name = 1 : Latin1String
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_NAME
        END ATTRIBUTE LINK_Name;

        END ATTRIBUTES; (* IDENTIFIER *)

        (* Status Attributes *)

        STATUS ATTRIBUTES
        ATTRIBUTE LINK_Status = 2 : ExchangeState
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_STATE
        END ATTRIBUTE LINK_Status;

        END ATTRIBUTES; (* STATUS *)

        (* Counters Attributes *)

        COUNTER ATTRIBUTES
        ATTRIBUTE SIF and SIO Octets transmitted = 3 : Counter32
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_Counter3_1
        END ATTRIBUTE SIF and SIO Octets transmitted ;

        ATTRIBUTE SIF and SIO Octets retransmitted  = 4 : Counter32
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_Counter3_3
        END ATTRIBUTE SIF and SIO Octets retransmitted ;

        ATTRIBUTE Messages Signaling Units transmitted = 5 : Counter32
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_Counter3_4
        END ATTRIBUTE Messages Signaling Units transmitted;

        ATTRIBUTE SIF and SIO Octets Received = 6 : Counter32
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_Counter3_5
        END ATTRIBUTE SIF and SIO Octets Received;

        ATTRIBUTE SL congestion indication = 7 : Counter32
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_Counter3_6
        END ATTRIBUTE SL congestion indication ;

        ATTRIBUTE Cumulative duration of SL congestion = 8 : Counter32
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_Counter3_7
        END ATTRIBUTE Cumulative duration of SL congestion;

        ATTRIBUTE MSU discarded due to SL congestion = 9 : Counter32
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_Counter3_10
        END ATTRIBUTE MSU discarded due to SL congestion;

        ATTRIBUTE Number of congestion events resulting in loss of MSU = 10 : Counter32
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = LINK_Counter3_11
        END ATTRIBUTE Number of congestion events resulting in loss of MSU;            
        END ATTRIBUTES; (* COUNTER *)

    EVENT PARTITION CONFIGURATION EVENTS = 15 :
        INCLUDE mcc_link_events.ms;
    END EVENT PARTITION CONFIGURATION EVENTS;

    INCLUDE mcc_link_reference.ms ;
    INCLUDE mcc_create_directive.ms ;
    INCLUDE mcc_register_directive.ms ;
    INCLUDE mcc_directory_directive.ms ;
    INCLUDE mcc_deregister_directive.ms ;
    INCLUDE mcc_delete_directive.ms ;
    INCLUDE mcc_set_directive.ms ;
    INCLUDE mcc_show_directive.ms ;
    INCLUDE mcc_getevent_directive.ms ;

    END ENTITY LINK ; (* End Child Entity LINK definition *)

 
    END ENTITY LINKSET; (* End Child Exchange_Linkset definition *)


(*  ---------------------------------------------------------------------
 *  Child Entity: BOARD
 *)

     (* Begin Child Entity BOARD definitions.  *)

        CHILD ENTITY BOARD = 2 :
           IDENTIFIER = ( BOARD_Name ),
           DYNAMIC = TRUE, 
           SYMBOL = CLASS_BOARD,

        (* Identifier Attributes *)

        IDENTIFIER ATTRIBUTES

        ATTRIBUTE BOARD_Name = 1 : Latin1String
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = BOARD_NAME
        END ATTRIBUTE BOARD_Name;

        END ATTRIBUTES; (* IDENTIFIER *)

        (* Status Attributes *)

        STATUS ATTRIBUTES

        ATTRIBUTE BOARD_Status = 2 : ExchangeState
           ACCESS = NONSETABLE,
           DISPLAY = TRUE,
           CATEGORIES = (CONFIGURATION),
           SYMBOL = BOARD_STATE
        END ATTRIBUTE BOARD_Status;

        END ATTRIBUTES; (* STATUS *)

    EVENT PARTITION CONFIGURATION EVENTS = 15 :
        INCLUDE mcc_board_events.ms;
    END EVENT PARTITION CONFIGURATION EVENTS;

    INCLUDE mcc_board_reference.ms ;
    INCLUDE mcc_create_directive.ms ;
    INCLUDE mcc_register_directive.ms ;
    INCLUDE mcc_directory_directive.ms ;
    INCLUDE mcc_deregister_directive.ms ;
    INCLUDE mcc_delete_directive.ms ;
    INCLUDE mcc_set_directive.ms ;
    INCLUDE mcc_show_directive.ms ;
    INCLUDE mcc_getevent_directive.ms ;

    END ENTITY BOARD ; (* End Child Entity BOARD definition *)

    END ENTITY Exchange; (* End Global Entity Exchange definition *)

END SPECIFICATION; (* MCC_EXCHANGE_AM *)





this is the msl file where the type is used
-------------------------------------------


(************************************************************************
 *                                                                      *
 *                 MCC_EXCHANGE_REFERENCE_ATTR.MS                       *
 *                                                                      *
 ************************************************************************
 *                                                                      *
 *  FACILITY:                                                           *
 *                                                                      *
 *    DECmcc - Management Control Center                                *
 *                                                                      *
 *    Registration FM Reference Attributes Partition                    *
 *                                                                      *
 *  ABSTRACT:                                                           *
 *                                                                      *
 *    This management specification defines the Management Interface    *
 *    for the Registration FM                                           *
 *                                                                      *
 *    These are the REGISTRATION FM supported reference attributes      *
 *                                                                      *
 *  USE:                                                                *
 *                                                                      *
 *    To add these Reference Attributes to your Management              *
 *    Specification, add the following command to the Attribute         *
 *    Partition section for all Entities supported by the Registration  *
 *    FM                                                                *
 *                                                                      *
 *    INCLUDE mcc_exchange_reference_attr.ms                            *
 *                                                                      *
 *  AUTHOR:                                                             *
 *                                                                      *
 *    AMIT LEVY                                                         *
 *                                                                      *
 *  EDIT HISTORY:                                                       *
 *                                                                      *
 *    01-Nov-1992            Created                                    *
 *                                                                      *
 ************************************************************************)


(************************************************************************
 *
 *  Define Reference Attributes Partition
 * 
 *  Attributes:
 *
 *    o Kind of telephone exchange                    (ExchangeKind)
 *    o District of telephone exchange                (Latin1String)
 *    o Region of telephone exchange                  (Latin1String)
 *    o Address of telephone exchange in X.25 network (Latin1String)
 *    o Responsible Person                            (Latin1String)
 *    o Phone Number                                  (Latin1String) 
 *    o Connected to STP'S                            (Latin1String)
 *    o General details                               (Latin1String)
 *    o Remarks                                       (Latin1String) 
 *    o 
 *)

  REFERENCE ATTRIBUTES

(*
 *  The kind of the telephone exchange. May be (TMX/SYS12)
 *)
		
    ATTRIBUTE Kind of telephone exchange = 100 : ExchangeKind 
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      SYMBOL     = REF_ATTR_KIND
    END ATTRIBUTE Kind of telephone exchange ;

(*
 *  District of the telephone exchange
 *)
		
    ATTRIBUTE District of telephone exchange = 101 : Latin1String
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      CATEGORIES = (CONFIGURATION),
      SYMBOL     = REF_ATTR_DISTRICT	   
    END ATTRIBUTE District of telephone exchange ;
	
(*
 *  Region of the telephone exchange
 *)
		
    ATTRIBUTE Region of telephone exchange = 102 : Latin1String
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      CATEGORIES = (CONFIGURATION),
      SYMBOL     = REF_ATTR_REGION	   
    END ATTRIBUTE Region of telephone exchange ;

	
(*
 *  Address of telephone exchange in X.25 network
 *)
		
    ATTRIBUTE Address of telephone exchange in X_25 network = 103 : Latin1String
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      CATEGORIES = (CONFIGURATION),
      SYMBOL     = REF_ATTR_ADDRESS	   
    END ATTRIBUTE Address of telephone exchange in X_25 network ;

(*
 *  Who you will call?
 *)
	
    ATTRIBUTE Responsible Person = 104 : Latin1String
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      CATEGORIES = (CONFIGURATION),
      SYMBOL     = REF_ATTR_PERSON
    END ATTRIBUTE Responsible Person;
	
(*
 *  Responsible person phone number
 *)
		
    ATTRIBUTE Phone Number = 105 : Latin1String
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      CATEGORIES = (CONFIGURATION),
      SYMBOL     = REF_ATTR_PHONE
    END ATTRIBUTE Phone Number ;

(*
 *  Connected to STP'S
 *)
		
    ATTRIBUTE Connected to STPS = 106 : Latin1String
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      CATEGORIES = (CONFIGURATION),
      SYMBOL     = REF_ATTR_STPS
    END ATTRIBUTE Connected to STPS ;

(*
 *  General details
 *)
		
    ATTRIBUTE General details = 107 : Latin1String
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      CATEGORIES = (CONFIGURATION),
      SYMBOL     = REF_ATTR_EXCHANGE_GENERAL	   
    END ATTRIBUTE General details;

(*
 *  Remarks
 *)
		
    ATTRIBUTE Remarks = 108 : Latin1String
      ACCESS     = SETTABLE,
      DISPLAY    = TRUE,
      CATEGORIES = (CONFIGURATION),
      SYMBOL     = REF_ATTR_EXCHANGE_REMARKS	   
    END ATTRIBUTE Remarks;

  END ATTRIBUTES; (* REFERENCE *)
   
------------------------------------------------------------

Thanks for any help,
Orna.
4756.5AN answer?TAVIS::ORNATue Apr 20 1993 07:064
    Can someone help me with an answer please?
    Thanks,
    Orna.