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



On 3/3/2016 9:44 AM, Kelly Beard wrote:
I'm using the Job, JobList classes from the Java Tool to query the
system about jobs by job name (9999999/USERNAME/JOBNAME) format. How
do you find the process ID from this? I'm scanning through the
documentation but nothing is really leaping out yet. If I go into a
QSH session and do a "ps -A" it prints a process ID along with job ID
and other job info. How can I get the process ID? I see the
"internal job ID" but that isn't the same thing as it is a 16 byte
field.

I'm curious ... what do you need the process id for a job for?

In IBM i context, the jobname is the key to accessing and manipulating running processes.

A bit more information will help us understand your objective.

david




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.