|
And some people here use a program I wrote to monitor their message queue and send all of their messages as email to them. Rob Berendt ================== A smart person learns from their mistakes, but a wise person learns from OTHER peoples mistakes. Winchester Terry <terry.winchester@raymon To: "'midrange-l@midrange.com'" <midrange-l@midrange.com> dcorp.com> cc: Sent by: Fax to: midrange-l-admin@midrang Subject: RE: Display of completed batch messages. e.com 09/17/2001 11:19 AM Please respond to midrange-l Mike, IIRC, this program was originally published in MidRange Computing, Nov. 1997. I use it religiously. ---------------------------------------------------------------------- Rather than using the DSPMSG command to see the results of submitted jobs, change your default message queue to use this program instead. Use DSPUSRPRF to determine the default message queue for your profile. Then, in a startup program, add the following line to redirect any messages to the bottom of the screen. CHGMSGQ MSGQ(current_message_queue) + DLVRY(*BREAK) PGM(MSGMON) ------------------------------------------------------------< MSGMON PGM PARM(&MSGQ &MSGQLIB &MSGK) DCL VAR(&MSGDTA) TYPE(*CHAR) LEN(132) DCL VAR(&MSGK) TYPE(*CHAR) LEN(4) DCL VAR(&MSGQ) TYPE(*CHAR) LEN(10) DCL VAR(&MSGQLIB) TYPE(*CHAR) LEN(10) RCVMSG MSGQ(&MSGQLIB/&MSGQ) MSGKEY(&MSGK) RMV(*NO) + MSG(&MSGDTA) SNDPGMMSG MSGID(CPF9897) MSGF(QCPFMSG) MSGDTA(&MSGDTA) + TOPGMQ(*EXT) MSGTYPE(*STATUS) ENDPGM --------------------------------------------------------------------- HTH, Terry -----Original Message----- From: Wills, Mike N. (TC) [mailto:MNWills@taylorcorp.com] Sent: Monday, September 17, 2001 11:50 AM To: 'midrange-l@midrange.com' Subject: Display of completed batch messages. I would like to see the messages for when my batch job is completed. Like when I compile my programs in PDM. I would like to see the job completed message. What and how do you configure so this happens? Myself and another programmer here don't see these messages, however we do see them on another system we have here. Mike Wills _______________________________________________ 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. _______________________________________________ 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-2025 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.