[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

5649.0. "More Problems on Appl Launching - Please Help..." by STKHLM::BERGGREN (Nils Berggren EIS/Project dpmt, Sweden DTN 876-8287) Fri Oct 08 1993 10:14

    Is there an end to this Application Launch story.....???
    
    
    The Use Manual, page 8-16, states:
    
    "You can gain access to any global or child entity's attribute
    information and pass it to the application you want to launch by
    includeing an appropriate argument in your Application Interface
    Definition"
    
    The sysntax is according the manual:
    
    	ARGUMENT: <class.instance.attribute>
    
    
    so, my DEF-file looks like:
    
    	MENU: Telia
    	   BUTTON: test
    	   SHELL: @tixnet$com:mcc_appl_test.com
    	   ARGUMENT: <node4.!.Registered Name>
    	   env_type: terminal
    	ENDMENU
    
    but when a luanch the application with a NOD4 entity selected I get the
    following message in the IMPM message window:
    
    "001  8-OCT-1993 14:06:37.19   Application could not be launched.
    Arguments not gettable."
    
    
    Why can't I pass the registered name?
    
    
    
    By the way, the manual is wrong (again :-) in the example provided on
    page 8-17:
    	
    	ARGUMENT: <NODE4.!.line.!.sva-0.HardwareAdress>
    
    shouldn't the syntax be like
     
       ARGUMENT: <NODE4.!.line.sva-0.HardwareAdress>   or
       ARGUMENT: <NODE4.!.line.!.HardwareAdress>
    
    and secondly, the attributename has to be 'Hardware Adress' with a
    space  (if you skip the space, you get "Arguments not gettable.")
    
    
    	/Nils
T.RTitleUserPersonal
Name
DateLines
5649.1Use name instead of Registred nameMQOSWS::F_MONETTENetwork consultant - MontrealThu Oct 14 1993 21:087
    use name instead because registred name is a attribute of the directory
    directive and you can not pass argument with the directory directive.
    the name is valid with the show directive and should work.
    
    
    hope this help
    Francois
5649.2NODE4 AM BUG.TOOK::MCPHERSONImagine whirled peas.Fri Oct 15 1993 08:5634
re .1 
>    use name instead because registred name is a attribute of the directory
>    directive and you can not pass argument with the directory directive.
>    the name is valid with the show directive and should work.

    Not really. 

    Directives do not have attributes; they may have Arguments, Responses and
    Exceptions.  There is no syntax in MSL to describe an "attribute of a
    directive".

    The attribute "Registered Name" is an attribute of NODE4 that happens to
    exists in the IDENTIFIER partition for that object.

    The DIRECTORY directive gets intercepted by the Registration FM.  One of
    the things that the DIRECTORY verb will do is return the identifiers (i.e.
    all attributes in the IDENTIFIERS partition) for the registered object in
    question.   

    The SHOW NODE4 ALL IDENT gets picked up by the NODE4 AM.  For some reason,
    the NODE4 AM choose NOT to return registered name as one of its
    identifiers.

    Since the Registration FM seems to be able to pick up "Registered Name"
    but the NODE4 AM does not, I am lead to  believe that there is a bug in
    the NODE4 AM entry point for the SHOW ALL IDENT call.  They probably just
    forgot to return that attribute and the FCL will only display what gets
    returned.

    Of course, this doesn't fix the problem, but you can extract this
    explanation and put this into a CLD for NODE4 if you want.  


    /doug