[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 |
1196.0. "Problem with my register directive" by PHONE::ALLAIN () Thu Jun 27 1991 17:48
Hi everybody,
I got a problem with my register directive...
MCC> register cmeagt tutu
Using default ALL IDENTIFIERS
%MCC-E-NOTFOUND, unsupported combination of verb, entity, partition
MCC>
My parse table seems to be strange:
Command: REGISTER CMEAGT ALL IDENTIFIERS
Command: REGISTER CMEAGT ALL CHARACTERISTICS
Command: REGISTER CMEAGT ALL REFERENCES
Command: REGISTER CMEAGT CMEID
Command: REGISTER CMEAGT OBJECTCLASS
Command: REGISTER CMEAGT DEMOCHAR1
Command: REGISTER CMEAGT DEMOCHAR2
Command: REGISTER CMEAGT LOCATION
Command: REGISTER CMEAGT IMPLEMENTATION DESC
Command: REGISTER CMEAGT RESPONSIBLE PERSON
Command: REGISTER CMEAGT PHONE NUMBER
Command: REGISTER CMEAGT MAIL ACCOUNT
Command: REGISTER CMEAGT REMARKS
Command: REGISTER CMEAGT TEXT FILE
Command: DEREGISTER CMEAGT
I believe taht the parse table is build from the dictionary, and the dictionary
is build from ths MSL, so here is my MSL:
DIRECTIVE Register = 29 :
DIRECTIVE-TYPE = EXAMINE,
DISPLAY = TRUE,
SYMBOL = CONFIG_DIRECTORY,
CATEGORIES = (CONFIGURATION),
RESPONSE Register Success = 1 :
SYMBOL = REGISTER_SUCCESS,
TEXT = "Registration Successful",
END RESPONSE Register Success;
RESPONSE Register Dup = 2 :
SYMBOL = REGISTER_DUP,
TEXT = "Empty already registered",
END RESPONSE Register Dup ;
END DIRECTIVE Register;
Does someone have an idea about this, because I'm a bit lost...
Thanks
Francois
T.R | Title | User | Personal Name | Date | Lines |
---|
1196.1 | I've read note 1158... | PHONE::ALLAIN | | Fri Jun 28 1991 09:37 | 2 |
| And i tried to enroll mcc_control_fm, mcc_fcl_pm, mcc_fire_am.... but it doesn't
change anything...
|
1196.2 | REGISTER directive is ACTION not EXAMINE type | TOOK::TAN | Ed Tan | Fri Jun 28 1991 10:11 | 5 |
| re:0
For one thing, the REGISTER directive is an ACTION directive, not an
EXAMINE directive. See SRM 7.5.1.15. Try define DIRECTIVE-TYPE = ACTION
then update the dictionary and rebuild the parse table.
|
1196.3 | It's better... | PHONE::ALLAIN | | Fri Jun 28 1991 17:53 | 37 |
| Ok, it's better. I don't know why it changes something (because it seems that it
used to work in the previous version of the CMEAGT AM with a type of EXAMINE...)
but it does. Thank you.
I say "it's better" instead of "it works", because of this:
MCC> register cmeagt tutu
Entering show directive... <<<<< I added this printf in the show directive...
CMEAGT NMF_NS:.tutu
AT 28-JUN-1991 16:40:51
The requested operation cannot be completed
MCC Routine Error = %MCC-W-ENTUNKNOWN, unknown entity: !AD
MCC> show cmeagt tutu
Using default ALL IDENTIFIERS
Entering show directive...
CMEAGT NMF_NS:.tutu
AT 28-JUN-1991 16:41:13 Identifiers
Examination of attributes shows:
cmeID = NMF_NS:.tutu
objectClass = 1001
MCC>
The problem may be that register is calling the show directive in another way
that the FCL does?
Any help?
Thanks
Francois.
|
1196.4 | Another error message... | PHONE::ALLAIN | | Mon Jul 01 1991 18:02 | 38 |
| I tried to add some prints in my show code, and now I'm getting this (See
the attached results). It seems that I'm not entering the show directive now...
The message from the register directive must mean that the entity I'm specifying
doesn't exist, but as the direct SHOW call shows it, the entity seems to be
there...
I must have done something stupid somewhere, but I can't find it. Help.
Francois.
MCC> create cmeagt bibi
Entering create directive...
CMEAGT NMF_NS:.bibi
AT 1-JUL-1991 16:52:32
Entity successfully created.
MCC>
MCC> show cmeagt bibi
Using default ALL IDENTIFIERS
Entering show directive...
status after begin directive = 52854793
status after do directive = 52854793
CMEAGT NMF_NS:.bibi
AT 1-JUL-1991 16:52:45 Identifiers
Examination of attributes shows:
cmeID = NMF_NS:.bibi
objectClass = 1001
MCC>
MCC> register cmeagt bibi
CMEAGT NMF_NS:.bibi
AT 1-JUL-1991 16:53:07
The requested operation cannot be completed
Entity Existence Info = Entity Exists
MCC>
|
1196.5 | Expalnations needed... | PHONE::ALLAIN | | Mon Jul 01 1991 18:50 | 3 |
| Could someone explain me what the register directive is actually doing after
and before the call to SHOW ALL IDEN? That way I may be able to figure out where
it'going wrong in my stuff and why.
|