[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
962.0. "PROBL: How to create new Verb" by VERS::PETROU () Fri Apr 26 1991 05:45
Hello world,
I need to add a deleting directive in my AM.
I would like to use the predefined Delete verb (id code =13)
but a FM intercepts my FCL request and drives me in error...
First question: Is there any way to work around this?
Then I used a new verb "Clearinstance" (id code=200)
but even if FCL PM parses my command correctly (see bellow), the director
sends the error message:
%MCC-E-NOTFOUND, unspported combinaison of verb, entity, partition
I ran under the bed test, and finaly it seems that the director
makes an function call, because when I ask for Call function
I obtain the same error. More over, allways under the bed test, if i ask
for a Call access the call is correctly dispatched to my entry point.
Second question: Can anybody describ the correct steps in adding a new verb,
or tell me what goes wrong?
Thanks for any help,
Regards, Philippe.
Here bellow are; - The inp dump of FCL
- The MSL of my directive
- The dispatch Vector for my directive
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
MCC> clearinstance timapcc .tima.pape
*****************************************************
* FCL PM Arguments before call_function: *
*****************************************************
VERB code: 200
PARTITION code: 10
AES dump of ENTITY IN:
depth=1 class code= 100 instance = �
ILV dump of IN_P: in_p is NULL
ILV dump of IN_Q: in_q is NULL
TIME SPEC is: 0, NOW
**********************************************
FCL PM Arguments on return from call_function:
CVR returned:
%MCC-E-NOTFOUND, unsupported combination of verb, entity, partition
ILV dump of OUT_P:
NULL
AES dump of ENTITY OUT:
depth=1 class code= 100 instance = �
%MCC-E-NOTFOUND, unsupported combination of verb, entity, partition
MCC>
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DIRECTIVE Clearinstance = 200 :
DIRECTIVE-TYPE = ACTION,
DISPLAY = TRUE,
SYMBOL = VERB_CLEARINSTANCE,
CATEGORIES = ( CONFIGURATION ),
RESPONSE Success = 1 :
SYMBOL = DELETE_SUCCESS,
TEXT = "Deleting instance and its attributes in private MIR ",
END RESPONSE Success;
END DIRECTIVE Clearinstance;
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
;+
; Dispatch entry for CLEARINSTANCE TIMAPCC <instance>
;-
;
;-
mcc_dispatch_entry -
CLEARINSTANCE,-
<mcc_entity <TIMAPCC,* >>,-
NULL,-
mcc_TIMAPCC__delete
T.R | Title | User | Personal Name | Date | Lines |
---|
962.1 | Using DELETE verb does what? | CHRISB::BRIENEN | DECmcc Bridge|Station|SNMP Management. | Fri Apr 26 1991 09:10 | 24 |
| RE: Base Note
> I need to add a deleting directive in my AM.
> I would like to use the predefined Delete verb (id code =13)
> but a FM intercepts my FCL request and drives me in error...
>
> First question: Is there any way to work around this?
What do you mean by "drives me in error..." ?
The Bridge AM implements the DELETE directive; FCL and Iconic Map PMs
handle it fine (FM dispatching is handled by Control FM, which acts a
a pass-through to Call Access).
> Second question: Can anybody describ the correct steps in adding a new verb,
> or tell me what goes wrong?
The problem of adding a new verb to MCC is documented in many places in
this conference, along with a few short-term workarounds (the problem
will disappear in DECmcc V1.2, when Control FM is retired). Try
KEYWORD = CONTROL_FM for information...
Chris
|
962.2 | Got it now!! | VERS::PETROU | | Fri Apr 26 1991 10:32 | 9 |
|
Hello world,
Thanks Chris for your answer. I finaly solve my problem. I think (I am
not sur) that error was caused from by a bug in my development dictionary.
I reloaded my global entity and now it works fine...
Regards, Philippe.
|