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

Conference noted::sns

Title:POLYCENTER System Watchdog for VMS OSF/1 ULTRIX HP-UX AIX SunOS
Notice:Wishes:406,FAQ:845,Kits-VMS:1000,UNIX:694 VMS ECO01 FT kit: 521
Moderator:AZUR::HUREZZ
Created:Fri May 15 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1033
Total number of notes:4584

1014.0. "Delete non printable character message?" by HLFS00::JONGH_D (Daan de Jongh) Thu Mar 06 1997 14:15

    Hi,
    
    A customer has the following message in the watchdog event window:
    
      6-MAR 14:48 ATLAS1 
    
    The message text contains all nl-characters (ascii 0).
    I have two questions about this:
    
    - How can I delete this message without restarting the watchdog?
    - What could be the cause of this problem? (SNS$ADD_MESSAGE ?)
    
    Thanks in advance,
    
    Daan de Jongh
    DTN: 838-3953
    
T.RTitleUserPersonal
Name
DateLines
1014.1Funny...AZUR::HUREZConnectivity & Computing Services @VBE. DTN 828-5159Thu Mar 06 1997 17:5029
    Hi,
    
    
    >> - What could be the cause of this problem? (SNS$ADD_MESSAGE ?)
    
    I guess so.  The command level interface would not allow this
    kind of badly formatted message!
    
    >> - How can I delete this message without restarting the watchdog?
    
    You may want to duplicate the SNS$EXAMPLES:SNS$DELETE_MESSAGES.C
    source file, comment out the test on the 195th line that way:
    
        if isalnum(first_char) {
    
    will become
    
     /* if isalnum(first_char) */ {
    
    compile, link and run the executable...
    
    It should get you rid of *any* external message, whether leading
    character is printable or not...
    
    Best Regards,
    
    	-- Olivier.
    
    
1014.2ThanksHLFS00::JONGH_DDaan de JonghFri Mar 07 1997 10:151