[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

1485.0. "Action restart from Multiline window!!!!!" by TRNOIS::TESTA (POLYCENTER = Integration Mirage !?!) Tue Feb 11 1997 03:10

    Hi,
    
    I have a customer with a problem on "multiline window". When the
    operator select one line to set knowlede of problem the action routine
    start again.
    
    Is this PCM or environment problem?
    
    Thanks
    
    Paolo
T.RTitleUserPersonal
Name
DateLines
1485.1CSC32::BUTTERWORTHGun Control is a steady hand.Tue Feb 11 1997 10:236
    Are you saying that when you click on a line to Acknowledge an event
    that another Multi-Line Window will appear in addition to the original
    one? 
    
    Regards,
       Dan
1485.2BRSADV::MICHIELSWhy do only fools and horses work?Wed Feb 12 1997 13:1128
    
    Paolo,
    
    
    Acknowledge or clear an event in the multi-line window generates
    internally in PCM a new event. This event has the same characteristics
    as the original event, with exception of:
    -  the event type is CMEventTypeAck (resp. CMEventTypeClear)
    -  the source (normally "Console") is changed to the Acknowledge
       or Clear string.
    
    
    I guess you customer has an action routine that executes when an event
    occurs, and in parallel displays the event text in a multi-line window.
    
    Ack or clear that event, generates again the same event, and the action
    routine is executed again.
    
    Best solution is:
    - if the action routine is a DCL procedure: check the source of the
    event, and exit immediately if the source is not "Console".
    - if the action routine is an exe: check for the type of the event, and
    don't care if the type is not CMEventTypeEvent (= 1).
    
    Hope this helps.
    
    Johan