[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

494.0. "Modifying eventlist from dollar prompt" by YUPPY::ROLLERS () Tue Nov 29 1994 17:22

    Anyone,
    
    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.
    
    Simon
    
T.RTitleUserPersonal
Name
DateLines
494.1OPG::PHILIPAnd through the square window...Tue Nov 29 1994 20:1032
>>    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.2ELGIN::RASOOLMThe computer in front is an ALPHAThu Dec 01 1994 13:017
    
    Or use SNS!
    
    Sorry to be glib.
    
    Max.
    
494.3OPG::PHILIPAnd through the square window...Thu Dec 01 1994 13:046
Max,

  How do you add/remove lines from an eventlist using SNS?

Cheers,
Phil
494.4ELGIN::RASOOLMThe computer in front is an ALPHAFri Dec 02 1994 13:4017
    > ...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.