[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 |
1115.0. "FCL parsing question" by QUIVER::CIARFELLA (When in doubt, mumble.) Fri Jun 07 1991 12:47
I have three attributes with similar names defined within the
same entity in my MS:
RING PURGER ENABLED FLAG
RING PURGER STATE
RING PURGE ERROR
When I try to abbreviated the word PURGER to PU,PUR,PURG I
am told that it is ambiguous. This is ok with me.
MCC> show bridge ni3 line 1 ring pu enable flag
%MCC-W-ATTRAMBIG, attribute PU is ambiguous; enter more characters
MCC> show bridge ni3 line 1 ring pu state
%MCC-W-ATTRAMBIG, attribute PU is ambiguous; enter more characters
MCC> show bridge ni3 line 1 ring pu error
%MCC-W-ATTRAMBIG, attribute PU is ambiguous; enter more characters
MCC> show bridge ni3 line 1 ring pur enable flag
%MCC-W-ATTRAMBIG, attribute PUR is ambiguous; enter more characters
MCC> show bridge ni3 line 1 ring pur state
%MCC-W-ATTRAMBIG, attribute PUR is ambiguous; enter more characters
MCC> show bridge ni3 line 1 ring pur error
%MCC-W-ATTRAMBIG, attribute PUR is ambiguous; enter more characters
MCC> show bridge ni3 line 1 ring purg enable flag
%MCC-W-ATTRAMBIG, attribute PURG is ambiguous; enter more characters
MCC> show bridge ni3 line 1 ring purg state
%MCC-W-ATTRAMBIG, attribute PURG is ambiguous; enter more characters
MCC> show bridge ni3 line 1 ring purg error
%MCC-W-ATTRAMBIG, attribute PURG is ambiguous; enter more characters
Then, when I true to abbreviate it to PURGE for the ENABLED and
STATE attributes, I am told that the attributes are unknown.
MCC> show bridge ni3 line 1 ring purge enable flag
%MCC-W-ATTRUNKNOWN, unknown attribute ENABLE
MCC> show bridge ni3 line 1 ring purge state
%MCC-W-ATTRUNKNOWN, unknown attribute STATE
MCC> show bridge ni3 line 1 ring purge error
BRIDGE DEGABA_NS:.ni3 LINE 1
AT 7-JUN-1991 11:43:13 Counters
Ring Purge Error = 0
I assume that there is some confusion at this point between the
three attributes, but, I wouldn't expect this error. I would think
that the correct attribute could still be determined.
MCC> show bridge ni3 line 1 ring purger enable flag
BRIDGE DEGABA_NS:.ni3 LINE 1
AT 7-JUN-1991 11:33:21 Characteristics
Ring Purger Enable Flag = True
MCC> show bridge ni3 line 1 ring purger state
BRIDGE DEGABA_NS:.ni3 LINE 1
AT 7-JUN-1991 11:33:25 Status
Ring Purger State = Purger
Is this a bug or just normal behavior?
Thanks,
Paul C
T.R | Title | User | Personal Name | Date | Lines |
---|
1115.1 | no explicit substrings allowed in pres names | TOOK::CALLANDER | Jill Callander DTN 226-5316 | Sun Jun 09 1991 22:45 | 21 |
| The quick one two of parsing in the FCL.
We are based on TParse, that means that when you take in a token
there must be one and only branch it can go down for the parsing
of the next token.
Because RING PURGE is a direct subset of RING PURGER.. ; first you will
NOT get the registrar (of MSLs) to accept it, it will fail the
ambiguity test; second the parser will never understand that purge is
a standalone value since it will always return to TParse two potential
branches for parsing the next token == therefore your error.
Please change the names so that they are unique, no explicit substrings
allowed (unless they do not exist as the first tokens in the
presentatin name).
If you have more questions on how to get these into an FCL parsable
state, please call.
jill
|