× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



James -

See http://search400.techtarget.com/tip/1,289483,sid3_gci755877,00.html

This code can be adapted to monitor for job status, CPU percentage or just
about anything else you can output to *Print.

Regards,

Scott Ingvaldson
AS/400 System Administrator
GuideOne Insurance Group

P.S.  Don't kill me, I'm just the piano player....

-----Original Message-----
date: Fri, 31 Oct 2003 14:26:12 -0800 (PST)
from: <jamesl@xxxxxxxxxxx>
subject: Re: Quick-and-dirty *MSGW?

Peter Vidal suggested:
> START:      PGM
>             CHKOBJ     OBJ(QSYS/XXXXXXXXXX) OBJTYPE(*USRSPC)
> END:        ENDPGM

Thanks.

As to why, well, I'm working on a program that scans through all active
jobs with a particular jobname, and needs to be able to recognize which
ones are in *MSGW state (which would indicate that they're stuck in an
error condition). Unfortunately, (1) I'm developing this on a different
box from the one the application being monitored runs on, and (2) all
known ways to put the real application into a *MSGW state are bugs that I
fixed earlier this week. Thus, I need to be able to create test jobs for
this thing to monitor, with some in a *MSGW state.

I could tell you more, but then I'd have to kill you. ;-)

--
JHHL
   
This message and accompanying documents are covered by the Electronic
Communications Privacy Act, 18 U.S.C. §§ 2510-2521, and contains information
intended for the specified individual(s) only. This information is
confidential. If you are not the intended recipient or an agent responsible
for delivering it to the intended recipient, you are hereby notified that
you have received this document in error and that any review, dissemination,
copying, or the taking of any action based on the contents of this
information is strictly prohibited. If you have received this communication
in error, please notify us immediately by e-mail, and delete the original
message.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.