T.R | Title | User | Personal Name | Date | Lines |
---|
494.1 | | OPG::PHILIP | And through the square window... | Tue Nov 29 1994 20:10 | 32 |
| >> Is it possible to add lines/remove lines into an Eventlist from the
>> dollar ($) prompt. We would like to use the eventlist to track running
>> jobs on a system and remove the entry once the job has finished.
Well, I gues you could do it, but it would take a little work on your part
because you would have to create an action routine. Basically, this is what
you need to do...
1) Create an action which stores the sequence numbers of all the events that
have occured.
2) Using CMUserSendEvent you can generate an event from DCL simply by
invoking a program to "poke" an event into ENS.
3) Your action created in step (1) would get this event from ENS by which
time it will have a sequence number attached.
4) You can now look the sequence number up in your saved list and using
another image invoked from DCL you should now be able to acknowledge and
clear this event.
Whilst all this is happening, any eventlist's running will receive the
event and do the updates based on the acknowledge and clear.
We are contemplating some major changes to the API which will make all this
MUCH easier in V2.0
Hope this helps.
Cheers,
Phil
|
494.2 | | ELGIN::RASOOLM | The computer in front is an ALPHA | Thu Dec 01 1994 13:01 | 7 |
|
Or use SNS!
Sorry to be glib.
Max.
|
494.3 | | OPG::PHILIP | And through the square window... | Thu Dec 01 1994 13:04 | 6 |
| Max,
How do you add/remove lines from an eventlist using SNS?
Cheers,
Phil
|
494.4 | | ELGIN::RASOOLM | The computer in front is an ALPHA | Fri Dec 02 1994 13:40 | 17 |
| > ...We would like to use the eventlist to track running
> jobs on a system and remove the entry once the job has finished.
Okay okay, so I should have explained myself a little Phil.
If you read the above extract about what Simon wants to achieve, SNS is
exactly the sort of tool digital already has to display, update and delete
messages on a display screen. Messages can be invoked from programs,
DCL or even PCM.
Why duplicate that funcionality?
Regards,
Max.
|