|
OR: just call the QSPRJOBQ api using the JOBQ0100 format? The number of
jobs on the queue is right there.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Michael Schutte
Sent: Thursday, March 31, 2016 7:27 AM
To: Midrange Systems Technical Discussion
Subject: Re: Alert if job queue backup
CL program.
CHKOBJ OBJ(QTEMP/JOBQLIST) OBJTYPE(*FILE) MONMSG CPF9801 DO CRTPF
FILE(QTEMP/JOBQLIST) RCDLEN(132) ENDDO CLRPFM QTEMP/JOBQLIST
WRKJOBQ OUTPUT(*PRINT)
CPYSPLF FILE(QPRTSPLQ)
TOFILE(QTEMP/JOBQLIST)
SPLNBR(*LAST)
CRTDATE(*LAST)
Then call a program to read the file. You would have to use substring
functions or use a data structure to break up the field from JOBQLIST.
On Thu, Mar 31, 2016 at 7:43 AM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:
HI is there a way to get an alert if a job queue has a bunch of jobs--
waiting?
In our system this could indicate an issue.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
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.