The CHGJOB will do it regardless of the job class.

By the way: any priority under 10 (console) is considered really stupid in most places. Since that job runs with more priority than the console, stopping a runaway will really be interesting. They seem to really not understand work management.

That also means the user running the job has a maximum job priority on the user profile set well below standard.



Jim Oberholtzer
Agile Technology Architects

On Mar 11, 2026, at 2:41 PM, James H. H. Lampert via JAVA400-L <java400-l@xxxxxxxxxxxxxxxxxx> wrote:

On 3/11/26 12:16 PM, Jim Oberholtzer wrote:
The job priority is determined by the job description and the routing
step invoked. Includes the time slice (which on later System is not
quite the concern, but on older boxes has a significant effect).
So first what job description is on the job then check the routing
data which will determine the job class. The class has the initial
priority.

I have some further information.

It seems that the catalina.sh shell script itself sets the RUNPTY:

if $os400; then
COMMAND='chgjob job('$JOBNAME') runpty(6)'
system $COMMAND
# Enable multi threading
export QIBM_MULTI_THREADED=Y
fi

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.