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



People on the Sun Java forum want to know what's the PID of the Windows job
that's running their Java class. You are asking the iSeries version of that
question, right? The answer usually given to them is that they have to call
something written in JNI to return that information. Same would apply here,
I think.

PC2 

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of David Gibbs
Sent: December 1, 2004 08:12
To: java400-l@xxxxxxxxxxxx
Subject: Re: Get job my java process is running in?

Colin Williams wrote:
> Do you mean the java process running on your PC, firing off an as400 job.

No, my java process is running in an iSeries job.  I want to get that job.

> Have you tried AS400.getJobs, apparently this came in at v5R2

getJobs only works on V5R2 & higher ... and it returns the jobs the AS400
object would connect to.  I want to know what job I'm currently in.

Again, this is *ONLY* when I'm running on the iSeries.

david

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.