• Subject: RE: deleting a message in log
  • From: "Kahn, David [JNJFR]" <DKahn1@xxxxxxxxxxxxx>
  • Date: Wed, 6 Oct 1999 10:57:26 +0200

Suppose you have the following code:

        DLTF       dk1234         
        MONMSG     MSGID(cpf2105) 

You want to delete the file if it exists, but if it doesn't exist you don't
care, so you use a monitor message to ignore the exception. However, you now
have an unwanted severity 40 message in your job log like this:

40    06/10/99   09:22:51   QLIDLOBJ       QSYS        03CD     ABC   
  Message . . . . :   Object DK1234 in *LIBL type *FILE not found.    

To get rid of this message you can make the following change:

        DLTF       dk1234                                    
        MONMSG     MSGID(cpf2105) EXEC(RCVMSG MSGTYPE(*excp))

By receiving the message from the program message queue you also remove it
(the default). This prevents it from appearing in the job log.

I hope this answers your question. If not maybe you could post a slightly
longer and more explicit version?

Dave Kahn
Johnson & Johnson International (Ethicon) France
Phone : +33 1 55 00 3180
Email :  dkahn1@jnjfr.jnj.com (work)
           dkahn@cix.co.uk      (home)

-----Message d'origine-----
De: S Senthil Kumar, Gurgaon [mailto:sskumar@ggn.hcltech.com]
Date: 06 October 1999 08:44
: MIDRANGE-L@midrange.com
Objet: deleting a message in log 

Is it possible to delete a particular message available in job log messages
in system? If so, how to do it?
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.