| 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::HUREZ Z | 
| 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 | 
    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.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 1014.1 | Funny... | AZUR::HUREZ | Connectivity & Computing Services @VBE. DTN 828-5159 | Thu Mar 06 1997 14:50 | 29 | 
|     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.2 | Thanks | HLFS00::JONGH_D | Daan de Jongh | Fri Mar 07 1997 07:15 | 1 |