|
midrange-l-request@xxxxxxxxxxxx wrote: > 6. end-of-msgq (Condon, Mike) > >What condition can I test for to indicate an end-of-msgq in a CL program? >And additionally, what tells if a message has been replied to already? >I am changing our scheduled IPL to test for an unreplied MSGW job. Mike: Regarding MSGW, consider the List Job Log Messages (QMHLJOBL) API against the job with MSGW status. Look for a message that has ReplyStatus=W which indicates an inquiry message that is awaiting a reply. If you run through QSYSOPR looking for inquiry messages, you might miss every job that is awaiting replies from any other message queue. Tom Liotta -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertech.com __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp
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.