[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

346.0. "Returning Cannot Complete with Service Error" by COOKIE::KITTELL (Richard - Architected Info Mgmt) Sat Sep 22 1990 22:48

T.RTitleUserPersonal
Name
DateLines
346.1INFO: Needed another levelCOOKIE::KITTELLRichard - Architected Info MgmtTue Sep 25 1990 02:56112
346.2MKNME::DANIELETue Sep 25 1990 12:2258
Does this help?

MCC> register snmp ffff               
FCL PM Arguments before call_function:
AES DUMP of ENTITY IN:                
                                      
depth=1 class code= 18 instance = ffff
                                      
ILV DUMP of INP: in_p is NULL         
ILV DUMP of INQ: in_q is NULL         
ATTRIBUTE PARTITION: 10               
*******************************************                                
                                                                           
FCL PM Arguments on return from call_function:                             
ILV DUMP of OUTP:                                                          
                                                                           
[  19 ] (                                                                  
    [  4 ] (                                                               
        [  1 ]         03 26 80 59                                         
        [  2 ]         01                                                  
        [  3 ] (                                                           
            [  0 ] (                                                       
                [  1 ]                 01                                  
                [  2 ]                 12                                  
                [  3 ]                 62  -- b                            
                [  4 ]                 4a  -- J                            
                [  5 ]                 66 66 66 66  -- ffff                
                )                                                          
            )                                                              
        [  4 ] (                                                           
            [  3 ] (                                                       
                [  6 ] (                                                   
                    [  0 ] (                                               
                        [  1 ]                         01                  
                        [  2 ]                         12                  
                        [  3 ]                         62  -- b            
                        [  4 ]                         4a  -- J            
                        [  5 ]                         66 66 66 66  -- ffff
                        )                                                  
                    )                                                      
                )                                                          
            )                                                              
        )                                                                  
    )                                                                      
AES DUMP of ENTITY OUT:                                                    
                                                                           
depth=1 class code= 18 instance = ffff                                     
                                                                           
CVR returned:                                                              
%MCC-S-COMMON_EXCEPTIO, success with common exception reply                
                                                                           
SNMP ffff                                                                  
AT 25-SEP-1990 08:21:15                                                    
                                                                           
                                                                           
The requested operation cannot be completed                                
                      MCC Service Error = No such entity: SNMP ffff        
MCC>                                                                       
346.3<here's one>TOOK::HAOTue Sep 25 1990 13:00132
    Sorry Mike.  Your example was for an MCCMessage datatype, not MCCReply.
    
    Richard, I'm not sure if the extra level is needed.  The following is
    an ILV dump of the command that returns a hard-coded MCCReply argument.
    This is for the PM_TESTER module which is used to test datatype
    conversion routines.
    
    The response ID is 1.  Two arguments are returned, of which Argument
    ID 6 is the one with MCCReply datatype:
    
    
    
    POLE$ mana/enter
    DECmcc (X1.1.0)
    
    MCC> dump mcc 0 pm_tester mccreplyarg
    FCL PM Arguments before call_function:
    AES DUMP of ENTITY IN:
    
    depth=2 class code= 7 instance = 0 class code= 11 instance =  no curlen
    
    ILV DUMP of INP:
    
    [  0 ] (
        [  6 ] (
            [  5 ]
            )
        )
    ILV DUMP of INQ: in_q is NULL
    ATTRIBUTE PARTITION: 10
    *******************************************
    
    FCL PM Arguments on return from call_function:
    ILV DUMP of OUTP:
    
    [  1 ] (
        [  100 ]     01 0b 4d 43 43 52 65 70 6c 79 41 72 67
        [  6 ] (
            [  1 ]         0b
            [  2 ]         78 00 08 00
            [  3 ]         03 26 80 49
            [  4 ]         03
            [  5 ] (
                [  0 ] (
                    [  1 ]                 01
                    [  2 ]                 07
                    [  3 ]                 00
                    [  4 ]                 00
                    [  5 ]
                    )
                [  1 ] (
                    [  1 ]                 01
                    [  2 ]                 0b
                    [  3 ]                 00
                    [  4 ]                 00
                    [  5 ]
                    )
                )
            [  6 ]         0a
            [  7 ] (
                [  222 ] (
                    [  6 ]                 6e 61 6d 65  -- name
                    )
                )
            [  8 ] (
                [  3 ] (
                    [  1 ]                 01
                    [  4 ]                 08 ae
                    [  16 ]                 73 74 72 69 6e 67  -- string
                    )
                )
            [  9 ] (
                [  0 ] (
                    [  1 ]                 01
                    [  2 ]                 07
                    [  3 ]                 00
                    [  4 ]                 00
                    [  5 ]
                      )
                [  1 ] (
                    [  1 ]                 01
                    [  2 ]                 0b
                    [  3 ]                 00
                    [  4 ]                 00
                    [  5 ]
                    )
                )
            [  10 ]         10 00 0e 02 cc e3 16 00 10 00 00 01 00 00 00 00
            [  11 ] (
                [  1 ] (
                    [  1 ]                 01
                    [  4 ]                 08 ae
                    )
                )
            [  12 ] (
                [  0 ] (
                    )
                )
            )
        )
    AES DUMP of ENTITY OUT:
    
    depth=2 class code= 7 instance = 0 class code= 11 instance =  no curlen
    
    CVR returned:
    %MCC-S-RESPONSE, success with response reply
    
    MCC 0 PM_TESTER
    AT 25-SEP-1990 08:54:25
    
    
    Dump of MCCReplyArg Successful
                                MCCReplyArg = 11, X0.8.0,
                                              %MCC-S-RESPONSE, success with
                                              response reply,
                                              Test,
                                              MCC PM_TESTER ,
                                              Null Partition,
                                                   BooleanArg = True,
                                                Unsigned32Arg = 2222,
                                              Latin1StringArg = "string",
                                              MCC PM_TESTER ,
                                              Test Successful,
                                                   BooleanArg = True,
                                                Unsigned32Arg = 2222
    MCC>
    
    
    *************************************
    
    Christine
    
346.4SOLUTION: No Null PointersCOOKIE::KITTELLRichard - Architected Info MgmtWed Sep 26 1990 05:455
Thanks, Christine. The trick is to not have any null pointers in the
MCCReply structure. Even if in_p is null, the field in the reply list
has to point at a valid descriptor for a null ILV buffer. If there isn't
an out_entity, set the field to in_entity.