|
If I am not mistaken, you can put several MONMSG commands one after another. In case of exception they will be examined one after another. The first one which applies will fire. Alexei Pytel "Art Tostaine, Jr." To: <midrange-l@midrange.com> <art@link400.com> cc: Sent by: Subject: Monitor two different messages midrange-l-admin@m idrange.com 02/21/2002 03:56 PM Please respond to midrange-l I have this CL code: CPYFRMSTMF FROMSTMF(&STMF) + TOMBR('qsys.lib/qtemp.lib/file.file/file.mb+ r') MBROPT(*REPLACE) MONMSG MSGID(CPFA095) EXEC(DO) SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) + MSGDTA('Filename' *BCAT &STMF *TCAT ' not + found') MSGTYPE(*ESCAPE) GOTO CMDLBL(ENDPROGRAM) ENDDO I also want to monitor for CPF2817, which is file in use (the tombr). Do I have to put both messages on the one MONMSG and then figure out the msg id? _________________ Art Tostaine, Jr. CCA, Inc. Jackson, NJ 08527 _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.