[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

2497.0. "MCC doesn't recognize a supported verb" by TOMLIN::ROMBERG (some assembly required...) Thu Mar 05 1992 12:19

	 I am  having  a  problem with MCC recognizing that a MOM that I
     wrote  actually supports some of the directives it really supports.
     The directives in question are Initialize and Boot. 

	 I checked  SYS$COMMON:[SYSLIB]MCC_VEA_DEF.H  and the Initialize
     and  Boot both match.  It seems that the request never even reaches
     my MOM.  

	Does anyone have any suggestions for something I may be missing?

Kathy Romberg
-------------------------

DAP> show class node subclass tgc_console

   Class (1) : NODE
---> Subclass (2) : TGC_CONSOLE
       Definition (3) : PRESENTATION_NAME
       Definition (3) : INSTANCE_REQUIRED
       Definition (3) : DYNAMIC
	:
	:
       Directive (6) : SHOW 1
       Directive (6) : SET 2
       Directive (6) : INITIALIZE 35
       Directive (6) : BOOT 46
       Directive (6) : HELP 57
	:
	:
DAP>

MCC> boot node cosby tgc_console

Node LOCAL_NS:.cosby TGC_CONSOLE
AT  5-MAR-1992 09:14:04

The requested operation cannot be completed
     Entity Existence Info = Entity Existence Cannot Be Determined,
                      VMS Routine Error = %MCC-E-INV_VERB, directive not
                                          supported for specified entity
MCC>
T.RTitleUserPersonal
Name
DateLines
2497.1More information?RACER::daveAhh, but fortunately, I have the key to escape reality.Thu Mar 05 1992 13:395
What do the relevent MS files look like?
Have you looked at the encoded data that gets passed?
	MCC's view of the data? the Common Agents view?

Note:  The base note was cross posted to DMS-IFT also.
2497.2a little more infoTOMLIN::ROMBERGsome assembly required...Thu Mar 05 1992 15:0879
As far as I can tell, nothing is getting passed to the agent. (The error message
is almost immediate, and my MOM, running in debug mode, never reacts (i.e. 
never prints out the request information.)

The .MS file contains the following boot directive (it's only a beginning...)

	DIRECTIVE BOOT = 46 :
	    DIRECTIVE-TYPE = ACTION,
	    DISPLAY = TRUE,
	    (* SYMBOL = BOOT, *)
	    CATEGORIES = (CONFIGURATION), 

	    (*	Question: Should arguments be one word or two; 
		e.g. 'boot device' or 'boot_device'?
	    *)
	    REQUEST 
		(*  Boot device should really be a list of Latin1String *)
		ARGUMENT boot_device = 1 : Latin1String
		    ECHO = TRUE,
		    DISPLAY = TRUE,
		    REQUIRED = FALSE,
		    DEFAULT = NO DEFAULT
		    (* SYMBOL = ARG_BOOT_DEVICE, *)
		END ARGUMENT boot_device;

		ARGUMENT boot_file = 2 : Latin1String
		    ECHO = TRUE,
		    DISPLAY = TRUE,
		    REQUIRED = FALSE,
		    DEFAULT = NO DEFAULT
		    (* SYMBOL = ARG_BOOT_DEVICE, *)
		END ARGUMENT boot_file;

		(*  Flags should really be a list of Latin1String *)
		ARGUMENT flags = 3 : Latin1String
		    ECHO = TRUE,
		    DISPLAY = TRUE,
		    REQUIRED = FALSE,
		    DEFAULT = NO DEFAULT
		    (* SYMBOL = ARG_FLAGS *)
		END ARGUMENT flags;
	    END REQUEST;

(* is any response Expected?? Link will drop. *)

	    RESPONSE Success = 1 :
		(* SYMBOL = BOOT_RESPONSE, *)
		TEXT = "Boot Response: ",
		ARGUMENT Arg_Boot_Response = 1 : Attrib_List
		   (* SYMBOL = ARG_BOOT_RESPONSE *)
		END ARGUMENT Arg_Boot_Response;
	    END RESPONSE Success;
    
	    EXCEPTION Invalid_Boot_Device = 2 :
		(* SYMBOL = TGC_INV_BOOT_DEV, *)
		TEXT = "Invalid Boot Device Specified",
	    END EXCEPTION Invalid_Boot_Device;

	    EXCEPTION Not_Yet_Implemented = 3 :
		TEXT = "Not Yet Implemented",
	    END EXCEPTION Not_Yet_Implemented;

	    EXCEPTION Unknown_Flag = 4 :
		(* SYMBOL = TGC_UNKNWN_FLAG, *)
		TEXT = "Invalid Flag Specified",
	    END EXCEPTION Unknown_Flag;

	    EXCEPTION File_Not_Found = 5 :
		(* SYMBOL = TGC_FILE_NOT_FOUND, *)
		TEXT = "Boot file was not found",
	    END EXCEPTION File_Not_Found;

        END DIRECTIVE Boot;


MCC and the agent are running on the same machine, so I would *hope* they have 
the same view of the world.  

Any code that was generated was generated by MOMGEN.
2497.3DEC CMIP AM bugTOOK::MATTHEWSThu Mar 05 1992 15:1118
    The problem is that the version of the DEC CMIP AM (aka DNA5 AM) that
    you have doesn't support all the action verbs yet. We just added that
    code last week to the AM. It is in the 1.2.18 base level and will
    be in the EFT update kit when it is distributed. 
    
    If you are spending lots of time trying to diagnose this problem,
    don't. It is ours. We hope to have the EFT update available within
    a couple of weeks so if you can wait, please do. If it is absolutely
    imperative for you to test this in the next 3 weeks, contact Jim
    Carey at TOOK::CAREY and we will make some arrangement. For
    common agent MOM functions, you need to do something special in your
    MSLs for your entity's directives. There is a new statement that
    was introduced with ECO 42 that must be included in the header
    statements of all directives. It is DNA_CMIP_INT = n where n
    is the DNA CMIP ACTION DIRECTIVE CODE as seen at the protocol level
    and which for NCL MSLs is contained in the Directive header line.
    
    wally
2497.4TOMLIN::ROMBERGsome assembly required...Thu Mar 05 1992 15:315
Wally,

Thanks... it's nice to know I'm not imagining things!  

Kathy