T.R | Title | User | Personal Name | Date | Lines |
---|
1568.1 | Add continuation character | NSSG::R_SPENCE | Nets don't fail me now... | Tue Oct 01 1991 11:35 | 12 |
| You need to provide the "continuation line character" "-" (just like
in VMS) so it knows that you still have more to come.
Just put a " -" at the end of each line except the last one like
MCC> create mcc 0 alarm rule test-1 -<CR>
_MCC> EXPRESSION = (occurs (node4 schwep circuit sva-0 circuit down)) <CR>
Ok?
s/rob
|
1568.2 | This has been QARed and partially fixed | TOOK::ORENSTEIN | | Tue Oct 01 1991 11:52 | 53 |
|
Yes, I can explain it. We are broken.
There are two poblems here.
1. The FCL is not consistant about passing down default values
(not sure about whether this is fixed)
2. ALARMS did not handle default values very well.
(fixed for NEXT release)
I have set the MCC_FCL_PM_LOG to 8 to demonstrate the inconsitancy
of the default values:
TWO LINES:
MCC> create mcc 0 alarms rule hello
EXPRESSION = (this is an expression)
ILV dump of IN_P:
[ 0 ] (
[ 21 ] 28 74 68 69 73 20 69 73 20 61 6e 20 65 78 70 72 65 73
73 69
6f 6e 29 -- (this is an expression)
[ 29 ] (
[ 5 ]
)
)
The FIVE is a flag that means USE DEFAULT -- Alarms did not handle
this correctly and stored it as an attribute. Later when it was used,
we issued a message that means "You have bogus attribute data" Our fault.
ONE LINE:
MCC> create mcc 0 alarms rule hello expression = (this is an expression)
ILV dump of IN_P:
[ 0 ] (
[ 21 ] 28 74 68 69 73 20 69 73 20 61 6e 20 65 78 70 72 65 73
73 69
6f 6e 29 -- (this is an expression)
[ 29 ] 00
)
Here, the actual value for PERCEIVED SEVERITY was passed from the FCL to
ALARMS.
Sorry for the inconvenience.
aud...
|
1568.3 | dash and return are not the same | TOOK::ORENSTEIN | | Tue Oct 01 1991 12:01 | 19 |
|
I guess Rob and I entered our last notes at the same instant.
The "dash" allows yout to continue a command on another line.
What the author of .0 had done was enter a RETURN to complete his
command. The FCL parser then looked at the line and decided that
some required arguments were missing and prompted the user for more
information -- in this case it was the EXPRESSION that was missing.
This is called "FCL command-completion".
If the user had used the "dash", the FCL would have peiced together
the separte lines and considered it ONE line and would not have seen
the problem he had seen.
aud...
|