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 |
Hi, I've read the note 513 and replies .6, .7. I'd like to know if text substitions for enumeration datatype is supported now? I'd like to use it for an event report as argument of an event. Francois
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1024.1 | one down another to go | TOOK::CALLANDER | Thu May 16 1991 16:29 | 13 | |
Isn't it always true, you fix one thing and someone wants another.... The enumeration problems from not 513.6 and 7 have been corrected, but...the V1.1 kit does not handle event report arguments from the notification services (when requested using the NOTIFY command), though you shouldn't have a problem with the GETEVENT command. The NOTIFY command problem (we simply didn't write the code to accept arguments) has now been corrected and should be available in the next major baselevel. jill | |||||
1024.2 | Sorry for the troubles... | PHONE::ALLAIN | Thu May 16 1991 17:08 | 89 | |
1024.3 | ilv encoding of the event report | TOOK::CALLANDER | Thu May 16 1991 18:25 | 36 | |
ILV dump of OUT_P: [ 1 ] ( [ 1 ] ( [ 69 ] ( [ 0 ] 09 ) ) EVENT PARTITION FRANCOIS EVENTS = 15 : SYMBOL = PRT_FRANCOIS_EVENTS, EVENT Bip = 69 : DISPLAY = TRUE, SYMBOL = CMEAGT_BIP, TEXT = " BIP Event Argument: !<Trigger Param>. ", ARGUMENT Trigger Param = 01 : totrigEnum DISPLAY = TRUE, SYMBOL = BIP_EVENT_ARG END ARGUMENT Trigger Param; END EVENT Bip; You will notice in the ilv encoding that [0] is supplied for the argument to the event report (code 69), and that "Trigger Param" is defined as code 1. My guess at looking at this is that that is what is causing your problem. The only other question I have is why did you make the event report an FAO type argument on the getevent response? Chapter 15 (SRM pg 884) gives the architected (generic) way in which the common directives should be modeled. The SRM shows the response as having no reply text, with a single argument of datatype event_report. jill | |||||
1024.4 | It's me again... | PHONE::ALLAIN | Thu May 16 1991 18:53 | 39 | |
1024.5 | event report as FAO arg | TOOK::CALLANDER | Thu May 16 1991 21:42 | 15 | |
It looks like (you are now getting a data type error) that the error is due to the fact that you have the event report as an `fao' argument to the reply text. Try removing that and see what happens. $MANAGE/TOOL/DICT DAP> use class code 1001 subclass code 1017 directive getevent exception code 1 DAP> set definition code 19 TYPE T COUNT 1 LENGTH 19 - _DAP> VALUE "Getevent Successful" DAP> exit ^^^^ I know this is quick and dirty but it will simply remove the argument substitution. You DON"T need to rebuild the parse tables or anything else to test this change. jill | |||||
1024.6 | event report as FAO arg | PHONE::ALLAIN | Fri May 17 1991 12:12 | 5 | |
You're right, it's ok now. I've removed the Fao argument and it works fine. Thanks a lot for your help. Francois. |