Any active job sitting in MSGW will appear in
select *
from table(qsys2.active_job_info()) x
where job_status='MSGW'
An interactive job waiting on a message will be DSPW and not MSGW. But I
assume you're not doing this interactively.
http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzajq/rzajqudfactivejobinfo.htm?lang=en

If one of those jobs go into MSGW does it still end with an ending code 0?
For example
DSPLOG MSGID(CPF1164)
Message . . . . : Job 566898/QTMHHTTP/QHTTP ended on 04/26/16 at
00:00:01;
.032 seconds used; end code 0

As far as I know there is no IBM i Service which will query QHST directly.


Rob Berendt

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.