[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

2718.0. "Help on MCC callables and bridge counters" by PSALM::KIM () Wed Apr 08 1992 15:14

Hi,

	I am having difficulty in interpreting the following dump output.
	Can somebody give me a clue or a pointer to how the code can be
	interpreted?

	Also I think that the program which generates the output has some
	error, and I cannot locate the problem.  My intention with the
	program is to get counter values from bridge LOCAL_NS:.500-1.
	Please, locate the problem for me.  Thank you.


Here is the dump output:

Calling mcc_call_function
In Entity :
        entity [0] wild = NOT_WILD class = 9 id = 1 type = 5
        instance = LOCAL_NS:.500-1
Return status : 52854873
Out Entity :
        entity [0] wild = NOT_WILD class = 9 id = 1 type = 5
        instance = LOCAL_NS:.500-1
Timestamp :

Dump of MCC time descriptor:
mcc_w_maxstrlen = 16
mcc_b_dtype     = DSC_K_DTYPE_T
mcc_b_class     = DSC_K_CLASS_Dmcc_w_curlen    = 16
mcc_b_flags     = 0
mcc_b_ver       = 1
mcc_l_id        = 0
mcc_a_link      = 0
mcc_l_dt        = MCC_K_DT_BIN_ABS_TIM
mcc_a_pointer   =
    bin_utc      =  8-APR-1992 09:29:20.77
    time          = 01CB1533959B7620
    inacc         = FFFFFFFFFFFFFFFF
    tdf_minutes   = -240
Out_p :

*****


[  20 ] (
    [  12 ] (
        [  0 ] (
            [  1 ]             01
            [  2 ]             09
            [  3 ]             01
            [  4 ]             05
            [  5 ]             4c 4f 43 41 4c 5f 4e 53 3a 2e 35 30 30 2d 31  --
LOCAL_NS:.500-1
            )
        )
    )

Here is part of the program:



/*******************************/
/* create a bridge instance    */
/*******************************/

   instance_descriptor.mcc_w_maxstrlen = 15;
   instance_descriptor.mcc_b_dtype = DSC_K_DTYPE_Z;
   instance_descriptor.mcc_b_class = DSC_K_CLASS_S;
   instance_descriptor.mcc_a_pointer = &"LOCAL_NS:.500-1";
   instance_descriptor.mcc_w_curlen = 15;
   instance_descriptor.mcc_b_flags = 0;
   instance_descriptor.mcc_b_ver = MCC_K_VER_DESCRIPTOR;
   instance_descriptor.mcc_l_id = MCC_K_BR_NAME;
   instance_descriptor.mcc_l_dt = MCC_K_DT_FULL_NAME;
   instance_descriptor.mcc_a_link = MCC_K_NULL_PTR;

   if($VMS_STATUS_SUCCESS (stat))
      stat = mcc_aes_create (&p_in_entity,
                             &MCC_K_CLASS_BRIDGE,
                             &instance_descriptor,
                             &MCC_K_AES_NOT_WILD);
T.RTitleUserPersonal
Name
DateLines
2718.1Need more info.MOLAR::BRIENENDECmcc LAN and SNMP Stuff...Wed Apr 08 1992 22:385
    Could you provide a little more information.
    
    For example: what are you trying to accomplish?
    
    						Chris
2718.2Try to get bridge countersSCHOOL::KIMThu Apr 09 1992 13:4213
>>>    Could you provide a little more information.
>>>    For example: what are you trying to accomplish?

With the program, I try to do the same operation as the following
MCC command:

MCC> SHOW BRIDGE LOCAL_NS:.500-1 ALL COUNTERS

Regards,

/dk