|
What about the QMHLJOBL API, that retrieves job log messages.
Vadim Rozen wrote an RPG IV procedure that provides a much better
interface
to the QMHLJOBL API. His procedure, Receive Job Log Messages (RCVJLMSG),
takes care of all the gory details.
It was published in Midrange Computing. Here a link to an artivcle on
it:
http://www.mcpressonline.com/programming/apis/api-power-without-api-
complexi
ty.html
I do not knw if it works correctly on V5R3, because my programme
wrapper I
have occassionally ends up in MSGW status itself. At V5R1 it worked
without
errors. Had no time to check it though.
With regards,
Carel Teijgeler
*********** REPLY SEPARATOR ***********
On 15-8-2010 at 10:22 Bruce Vining wrote:
Oops. Rather than QUSLJOB I should have reference QGYOLJOB in my priorwas
note.
QGYOLJOB also has the message wait information but evidently QUSLJOB
notmemory
enhanced in this area for V6R1. I should know better than to go by
atvarious
my age...
Bruce
On Sun, Aug 15, 2010 at 10:12 AM, Bruce Vining
<bvining@xxxxxxxxxxxxxxx>wrote:
I would recommend an upgrade. That information was added to the
jobprint
related APIs because there really wasn't a good solution in priorreleases.
IF, and that's a big if with your scenario, the job happens to be a
priorwriter then the Retrieve Writer Information (QSPRWTRI) API providessimilar
information on prior releases as message wait was a definite problemupgrade
historically for print writers. But for generic job type access, an
to your OS is the way to go. IBM may have PTFed QUSRJOBI/QUSLJOB
releases with this information, but I doubt it.
Bruce
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.