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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.