× 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.



That's a recipe for failure when the spool file format changes. API's
are your friend.

albertyork@xxxxxxxxx 11/24/2009 11:20:19 AM >>>
What I would do is execute the command WRKACTJOB OUTPUT(*PRINT), copy
the spool file QPDSPAJB to a work file in QTEMP and then read the file.
It has all of the information that you need.

Albert

----- Original Message -----
From: "Guillermo Payero" <guille_pm@xxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Subject: Checking if a job is active
Date: Tue, 24 Nov 2009 10:59:38 -0800 (PST)


Hello

I'm currently developing some little programs to perform
our morning checks automatically. I need to check DASD, jobs in
systems, if some subsystems are active or not, and check whether a
couple of jobs are active (applications jobs, part of an interface
with another system i).

I managed to check all except those active jobs. Using my friend
google I found some APIs that might help me with this, like QUSLJOB
and QUSRJOBI. The problem is that those APIs need a qualified job
name to run, and I don't have all that info, only the job name and
user.

Any ideas on how can I do this?

Warmest regards



Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/
--
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.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.